summaryrefslogtreecommitdiff
path: root/it_url.class
AgeCommit message (Collapse)AuthorFilesLines
2020-05-18Avoid unnecessary classes being loaded in tel/feedback.phpChristian Schneider1-1/+1
2020-05-18Add 'assoc' => true mode to it_url::get() and prepare to mark function staticChristian Schneider1-24/+49
2020-05-11Make response cookie handling case insensitive as HTTP2 returns lowercaseChristian Schneider1-1/+1
2020-05-11Mark static methods properly to avoid deprecation messageChristian Schneider1-1/+1
2020-04-30Include both the active and the default language (from user's ↵Christian Schneider1-1/+1
Accept-Language header) in cache key as they can lead to different output of subrequests
2020-04-30Use user's Accept-Language (mapped to languages we know) instead of ↵Christian Schneider1-1/+1
currently active language to preserve language overrides in subrequests
2020-04-22Also accept language overrides for txtChristian Schneider1-1/+1
2020-04-21White-list mbtiles.php because it does not support language override urlsChristian Schneider1-1/+1
2020-04-21Also accept language overrides for gif, jpg and pngChristian Schneider1-1/+1
2020-04-21Add translated csv to white-list as map users //tel/result.csv with LU()Christian Schneider1-1/+1
2020-04-21Warn about missing language overrides for subrequests, i.e. LU() instead of ↵Christian Schneider1-0/+3
U(). Always on on twin/live and enabled with subreqcheck on devel
2020-04-21support retrysleep in ::get_multiUrban Müller1-2/+11
2020-04-17support $p["postprocess"] in get_cache_contents()Urban Müller1-4/+13
2020-04-16allow postprocessors like json_decodeUrban Müller1-1/+7
2020-02-24rename $result which is not result of functionUrban Müller1-13/+13
2019-11-25each is deprecated and does not work for generatorsNathan Gass1-5/+12
2019-11-21avoid reading all of urls array in memory to support generatorsNathan Gass1-17/+20
2019-11-21get_muti: only call handler on curl success, give curl handle to handler so ↵Christian Helbling1-7/+10
handler can use functions like curl_getinfo to extract data like the http error code
2019-10-29implementation of maxlength using decompressed data sizeNathan Gass1-17/+26
2019-10-29fix for oo version of it_urlNathan Gass1-1/+1
2019-10-17Fix ->is_reachable to use get() instead of fopen to use HTTP/1.1 and add testsChristian Schneider1-12/+3
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