summaryrefslogtreecommitdiff
path: root/test/it_url.t
AgeCommit message (Collapse)AuthorFilesLines
2024-07-03make retries => 0 consistent with retries => 1: no it::error on 404Urban Müller1-1/+9
2024-05-08Switch default for it_url::get*() to not return body on status >= 400Christian Schneider1-0/+8
2024-05-07Add type for assoc with maxlength, make test for 404 stricterChristian Schneider1-2/+11
2024-05-02Do not generate it::error with test for sporadic failuresChristian Schneider1-1/+1
2024-05-02Rename empty_on_fail to body_on_fail for future switching of default, ↵Christian Schneider1-7/+7
currently also supports empty_on_fail for transition
2024-04-30Fix is_reachable fetching always twice if content longer than 1000 bytes, ↵Christian Schneider1-1/+1
make retry test having to retry more often to test that code path
2024-04-29Version 2 of: Switch it_url::get('assoc' => true) to always return non-empty ↵Christian Schneider1-1/+1
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-1/+1
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-1/+1
including at least the HTTP status code
2024-04-23current test domain is somtimes gnat availableUrban Müller1-5/+5
2024-04-22Send notice to schneider@search.ch to check where chaning default to ↵Christian Schneider1-3/+3
empty_on_fail=true would have an impact
2024-04-18introduce empty_on_fail, get keepfailed to workUrban Müller1-3/+23
2023-11-20use random port to avoid racesNathan Gass1-24/+24
2023-10-30add test that redirect loop is not reachableNathan Gass1-2/+2
2023-10-30change it_url::is_reachable to static api consistent with it_url::getNathan Gass1-8/+3
2023-08-22Add prefix to it_url::absolute() for OneDomain support, add tests for ↵Christian Schneider1-0/+15
relative paths
2022-10-25be utf8 safeUrban Müller1-0/+1
2020-08-10vanilla php complianceUrban Müller1-3/+3
2020-08-04correctly retry in ::get_multi, do retry in status 5xx in ::getUrban Müller1-0/+21
2020-05-18Add 'assoc' => true mode to it_url::get() and prepare to mark function staticChristian Schneider1-19/+7
2020-04-21use new array syntaxUrban Müller1-13/+13
2019-10-17Fix ->is_reachable to use get() instead of fopen to use HTTP/1.1 and add testsChristian Schneider1-0/+5
2019-05-13add test and fix for 204 http status codeNathan Gass1-0/+13
2019-03-01Revert "better name for http status variable" for nowUrban Müller1-5/+0
This reverts commit a648b594c6a96f050b99eb691c73b41f27d6890b.
2019-03-01better name for http status variableUrban Müller1-0/+5
2018-06-21no reason for different namingUrban Müller1-0/+315