summaryrefslogtreecommitdiff
path: root/it_url.class
AgeCommit message (Expand)AuthorFilesLines
2024-12-02Revert "use CURLOPT_MAXFILESIZE now that we have current curl"Christian Schneider1-6/+18
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 non-em...Christian Schneider1-1/+1
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, current...Christian Schneider1-5/+5
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, mak...Christian Schneider1-8/+10
2024-04-29Also cache 404 in assoc case to keep previous behaviour, server errors >= 500...Christian Schneider1-1/+1
2024-04-29Version 2 of: Switch it_url::get('assoc' => true) to always return non-empty ...Christian Schneider1-3/+4
2024-04-25Revert "Switch it_url::get('assoc' => true) to always return non-empty array ...Christian Schneider1-3/+2
2024-04-24Switch it_url::get('assoc' => true) to always return non-empty array includin...Christian Schneider1-2/+3
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 empty_on...Christian Schneider1-0/+4
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 writefunct...Nathan Gass1-4/+13
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
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 alway...Urban Müller1-2/+2
2023-09-20accept login subrequests without lang overrides even on //login--searchfield-...Urban Müller1-1/+1
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 relativ...Christian Schneider1-5/+5
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