summaryrefslogtreecommitdiff
path: root/it_url.class
AgeCommit message (Collapse)AuthorFilesLines
2024-12-02Revert "use CURLOPT_MAXFILESIZE now that we have current curl"Christian Schneider1-6/+18
This reverts commit 1c657c2264c17dc2980bbce2f63ddad7546e96d5.
2024-10-22port some more of the error handling from it_url::get to it_url::get_multiNathan Gass1-3/+6
2024-10-21use CURLOPT_MAXFILESIZE now that we have current curlNathan Gass1-18/+6
2024-07-10Work around idn_to_ascii not allowing empty string in PHP 8.4 by using ↵Christian Schneider1-1/+1
non-empty but falsey string
2024-07-04introduce ->status for ->result, temporarily support ->resultUrban Müller1-14/+15
2024-07-03make retries => 0 consistent with retries => 1: no it::error on 404Urban Müller1-5/+9
2024-07-01Remove special case for stale locks since those never occuredDavid Flatz1-12/+5
2024-06-27add response body to errors, rename $got to $bodyUrban Müller1-9/+10
2024-06-13keep http default for now, only http is guaranteed to work everywhereUrban Müller1-1/+1
2024-06-11remove http: useUrban Müller1-1/+1
2024-06-10http: -> https:Urban Müller1-3/+3
2024-05-27Fix it_url::get with maxlength and large responseChristian Schneider1-1/+1
2024-05-21more meaningful error message in title than 0 No ErrorNathan Gass1-2/+2
2024-05-16bugfix, thx buddhaUrban Müller1-1/+1
2024-05-16reduce quoting hellUrban Müller1-1/+1
2024-05-16securityUrban Müller1-1/+1
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