summaryrefslogtreecommitdiff
path: root/it_url.class
AgeCommit message (Collapse)AuthorFilesLines
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)
2017-08-16handle authentication in function request_curlNathan Gass1-1/+6
2017-08-11better err msgUrban Müller1-3/+7
2017-08-11dont report errs if retries leftUrban Müller1-4/+4
2017-08-10enable filtering of it_url errors, enable errors in it_url::get by default ↵Urban Müller1-12/+13
(like ::get_cache)
2017-07-20more verbose error messageUrban Müller1-1/+1
2017-07-06avoid permission problems in /cleaned if ::get_cacheUrban Müller1-1/+1
2017-07-03add filemtime / If-Modified-Since functionality to request_curlChristian Helbling1-7/+8
2017-06-29it_url: add option compression to use gzip or deflate (handled by curl)Christian Helbling1-1/+5
2017-05-18Do not follow redirect for HTTP 201 Created because that can send the ↵Christian Schneider1-1/+2
Location of the new resource
2017-03-21get_cache_filename() considers post dataChristian A. Weber1-1/+2
2017-03-16it_url::get() supports http file upload, clarify params documentationChristian A. Weber1-4/+11
2017-02-07textbook ternaryUrban Müller1-4/+1
2016-12-08Make static/object context check PHP 7.1 compatibleChristian Schneider1-1/+1
2016-11-24handle multiple Continue headersNathan Gass1-1/+1
2016-11-10whitespace cleanupUrban Müller1-1/+1
2016-10-19restore documentation of get_cache_contents()Christian A. Weber1-1/+1
2016-10-19fix phan warningsUrban Müller1-8/+10
2016-09-28handle continue header in curl resultNathan Gass1-0/+2