summaryrefslogtreecommitdiff
path: root/it_url.class
AgeCommit message (Collapse)AuthorFilesLines
2020-07-27honor lock argument for preprocessing as wellUrban Müller1-2/+2
2020-07-27make arg optionalUrban Müller1-2/+2
2020-07-27debugparams req and res should work in get_multiUrban Müller1-1/+6
2020-07-27make locking in it_url::get_cache optionalUrban Müller1-7/+11
2020-06-26Refetch in get_cache() if headers are requested but cache does not contain themChristian Schneider1-1/+1
2020-06-15Only use T_defaultlang() for search.ch subrequests which uses language ↵Christian Schneider1-2/+3
overrides in URLs, external requests should ask for current language seen by user
2020-06-15Use something resembling Edge instead of MSIE 9 to ITools requestsChristian Schneider1-1/+1
2020-06-02Switch it_url::get() to static / remove support for legacy usage ->get()Christian Schneider1-6/+1
2020-05-26allow custom errors on format violations (e.g. timewindow)Urban Müller1-2/+2
2020-05-18Warn about object method usage of it_url::get()Christian Schneider1-0/+3
2020-05-18For now normalize headers in it_url::get/request response to ↵Christian Schneider1-1/+1
Capitalized-Form as code is accessing stuff like 'Location' and HTTP/2 returns lowercased headers
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