summaryrefslogtreecommitdiff
path: root/it_url.class
AgeCommit message (Collapse)AuthorFilesLines
2024-05-08Switch default for it_url::get*() to not return body on status >= 400Christian Schneider1-6/+2
2024-05-07Show error string containing http status in alertsChristian Schneider1-1/+1
2024-05-07Fix documentation: Assoc now always returns array with statusChristian Schneider1-1/+1
2024-05-02Do not check body_on_fail with assoc mode, we looked at those separatelyChristian Schneider1-1/+1
2024-05-02Reenable warnings about behaviour change when switching body_on_fail defaultChristian Schneider1-2/+2
2024-05-02Rename empty_on_fail to body_on_fail for future switching of default, ↵Christian Schneider1-5/+5
currently also supports empty_on_fail for transition
2024-04-30fix typoUrban Müller1-2/+2
2024-04-30reorganize documentation for it_url::getUrban Müller1-13/+19
2024-04-30Only delete cache files (not directories) to avoid race with directory creationChristian Schneider1-1/+1
2024-04-30Fix is_reachable fetching always twice if content longer than 1000 bytes, ↵Christian Schneider1-8/+10
make retry test having to retry more often to test that code path
2024-04-29Also cache 404 in assoc case to keep previous behaviour, server errors >= ↵Christian Schneider1-1/+1
500 are not cached
2024-04-29Version 2 of: Switch it_url::get('assoc' => true) to always return non-empty ↵Christian Schneider1-3/+4
array including at least the HTTP status code
2024-04-25Revert "Switch it_url::get('assoc' => true) to always return non-empty array ↵Christian Schneider1-3/+2
including at least the HTTP status code" This reverts commit d4bd73f98063ebbdf6c6f5ce94252360de901c9a.
2024-04-24Switch it_url::get('assoc' => true) to always return non-empty array ↵Christian Schneider1-2/+3
including at least the HTTP status code
2024-04-24Disable reporting of empty_on_fail infosChristian Schneider1-3/+3
2024-04-22Send notice to schneider@search.ch to check where chaning default to ↵Christian Schneider1-0/+4
empty_on_fail=true would have an impact
2024-04-18introduce empty_on_fail, get keepfailed to workUrban Müller1-9/+10
2024-04-02remove last remnants of failed utest modeUrban Müller1-3/+0
2023-11-14previous commit changed error code for maxlength reachedNathan Gass1-1/+1
2023-11-13Revert "simplify maxlength implementation and make compatible with ↵Nathan Gass1-4/+13
writefunction" This reverts commit f75da376ff31eed20e409797260ba832be3b9308.
2023-11-01handle redirects with small bodiesNathan Gass1-1/+1
2023-10-31use maxlength instead of method HEAD for is_reachable as some servers do not ↵Nathan Gass1-1/+1
support HEAD
2023-10-31still include headers and status in result if maxlength is reachedNathan Gass1-1/+1
2023-10-30simplify maxlength implementation and make compatible with writefunctionNathan Gass1-13/+4
2023-10-30add fixme for new curl featureNathan Gass1-0/+1
2023-10-30change it_url::is_reachable to static api consistent with it_url::getNathan Gass1-8/+4
2023-10-02disable test until we have a clean OneDomain solutionUrban Müller1-2/+2
2023-10-02avoid false positives in redirs from subdomain to onedomain, ::absolute ↵Urban Müller1-2/+2
always yields onedomain (mail1479)
2023-09-20accept login subrequests without lang overrides even on ↵Urban Müller1-1/+1
//login--searchfield--twin (mail1074)
2023-09-04::get_cache_contents metadata in php format no longer supportedUrban Müller1-1/+1
2023-08-22Add prefix to it_url::absolute() for OneDomain support, add tests for ↵Christian Schneider1-5/+5
relative paths
2023-08-21Do not cache content between OneDomain mode and old-style domainsChristian Schneider1-1/+1
2023-08-21OneDomain support for it_url::redirectChristian Schneider1-2/+2
2023-08-18support utest mode by removing uok in redirectsUrban Müller1-2/+5
2023-06-19avoid false pos in check for deprecated funcsUrban Müller1-1/+1
2023-06-12prevent deprecated function alertUrban Müller1-1/+1
2023-05-11store mtime before lock gets touchedUrban Müller1-2/+4
2023-05-11Use flock for locking to prevent stale locks, when process gets killedDavid Flatz1-11/+20
2023-04-03keep sticklers happyUrban Müller1-1/+1
2023-03-27use standard syntaxUrban Müller1-1/+1
2023-03-27use old syntaxUrban Müller1-1/+1
2023-03-27always use 3rd position for cache miss return valueUrban Müller1-2/+2
2023-03-23support cachemiss flagUrban Müller1-4/+5
2023-03-23use json for new meta info storage; stil support serialized .php for a whileUrban Müller1-3/+3
2023-03-23use json for header storageUrban Müller1-3/+3
2023-01-30make sure that randomexpire = 1.0 always clears cacheUrban Müller1-1/+1
2023-01-25allow randomexpire to prevent refresh burstsUrban Müller1-3/+4
2022-11-27Make itools ready for PHP 8.2: Creation of dynamic property deprecatedChristian Schneider1-0/+1
2022-10-26fix typoUrban Müller1-1/+1
2022-10-26prevent ever changing filenames to changing Bearer tokensUrban Müller1-1/+2