summaryrefslogtreecommitdiff
path: root/it_url.class
AgeCommit message (Collapse)AuthorFilesLines
2019-09-03always set/clear errstrUrban Müller1-0/+3
2019-09-02Make itools a bit stricter, new PHP versions start to enforce more declarationsChristian Schneider1-3/+3
2019-05-14allow retries on 500 server errorsUrban Müller1-1/+1
2019-05-13add test and fix for 204 http status codeNathan Gass1-1/+1
2019-04-18nicer err msgUrban Müller1-1/+1
2019-04-17specify method in err msgUrban Müller1-1/+1
2019-04-05Send alert when we try to get overly long urlsChristian Schneider1-0/+2
2019-04-02add option noresults and debug handler feature in it_url::get_multiNathan Gass1-6/+8
2019-03-01Revert "better name for http status variable" for nowUrban Müller1-10/+7
This reverts commit a648b594c6a96f050b99eb691c73b41f27d6890b.
2019-03-01better name for http status variableUrban Müller1-7/+10
2019-02-12Migrate old style constructors to __construct, temporary transition ↵Christian Schneider1-3/+3
functions for it_dbi (map, mapgen) and it_user (ad, login_user)
2019-01-16implement parameter parallel to limit parallel requests in it_url::get_multiNathan Gass1-5/+7
2019-01-14add options to use client certificates in it_url::getChristian Helbling1-0/+6
2019-01-04allow omitting id if default maxageUrban Müller1-6/+6
2019-01-04enable get_cache warnings for everyoneUrban Müller1-2/+2
2019-01-03warn about get_cache calls without IDUrban Müller1-0/+3
2019-01-03don't force it_error => false in get_cache()Christian A. Weber1-1/+1
2018-11-16replace horribly named function with slight less horribly named oneUrban Müller1-2/+2
2018-11-06add new parameter fetchsleep to sleep after a fetch - this parameter is ↵Christian Helbling1-1/+4
useful for it_url::get_cache_contents when fetching many resources from an external server: it sleeps after every fetch on the external server but doesn't when fetching from cache
2018-08-31docsUrban Müller1-1/+1
2018-08-17$p['totaltimeout'] supports fractions of seconds, fix path in error message ↵Christian A. Weber1-3/+3
of _waitforlockedfile()
2018-08-17new $p['writefunction'] function to be called whenever data is received (for ↵Christian A. Weber1-14/+22
server-sent-events etc.)
2018-08-03implement option verbose for verbose curl outputNathan Gass1-2/+14
2018-08-03check for false identity, content of $got could evaluate to false for some ↵David Flatz1-1/+1
requests
2018-08-03expose errno since some errors don't necessarily have an errorstring (e.g. ↵David Flatz1-2/+2
when curl couldn't connect to a server because it couldn't assign the requested address because the pool of local ports is exhausted)
2018-06-27reapply "use safer it:: variants of file funcs", was not the culprit in ↵Urban Müller1-4/+4
jussi downtimes This reverts commit 99b7fc8dc08da090bb7f00c2882e1daeec4434ba.
2018-06-22Revert "use safer it:: variants of file funcs"Urban Müller1-4/+4
This reverts commit 05e7ceefa1f0a29c665381b54ac882f260ae6c22.
2018-06-21use safer it:: variants of file funcsUrban Müller1-4/+4
2018-06-18urlencode keys of nested structures; this fixes illegal characters in urlsDavid Flatz1-1/+1
2018-02-15Encode [] in url parameters as new tidy validates URLs and complains about itChristian Schneider1-2/+5
2018-02-14Add support for precalculated cachefilenameChristian Schneider1-5/+6
2018-02-14Store result code directly in HTTP, not HTTP/1.1 or HTTP2 because we want to ↵Christian Schneider1-1/+1
be able to access it without knowing protocol version
2018-01-24Combine duplicate it_error parameter documentationChristian Schneider1-2/+1
2017-12-21readd trailing commaNathan Gass1-1/+1
2017-12-19remove curlinfo_header_out option (conlicts with curlopt_verbose and ↵Nathan Gass1-3/+4
possibly is expensive), add debug parameter curlverbose
2017-12-18include curl_getinfo for errors, remove unused variableNathan Gass1-3/+4
2017-10-26set accept encoding optionNathan Gass1-0/+1
2017-10-16implement retries for get_multiNathan Gass1-11/+28
2017-10-12use CURLOPT_FOLLOWLOCATION in it_url::getNathan Gass1-19/+8
2017-09-26do not wait for body on HEAD requestNathan Gass1-0/+1
2017-09-25rename request_curl to requestNathan Gass1-7/+2
2017-09-25remove old request methodNathan Gass1-103/+3
2017-09-13better docsUrban Müller1-2/+2
2017-08-22check for wrong use of it_url::getNathan Gass1-0/+2
2017-08-21fix multiple args in base, add documentationChristian A. Weber1-2/+5
2017-08-21add it_url::parse_str() which leaves dots and spaces in arg names intactChristian A. Weber1-0/+13
2017-08-21correctly use old "safety" parameter in get_cache_contentsUrban Müller1-1/+1
2017-08-21always use curlNathan Gass1-1/+1
2017-08-17fix basic authentication support in request_curlNathan Gass1-10/+9
2017-08-16use normalized url instead of rawurl also for request_curl (so default ↵Nathan Gass1-1/+1
protocol gets added)