summaryrefslogtreecommitdiff
path: root/it_url.class
AgeCommit message (Collapse)AuthorFilesLines
2021-02-16fix errors on get_cacheUrban Müller1-3/+3
2021-02-03Code cleanup: Replace call_user_func* with normal function call equivalentChristian Schneider1-2/+2
2021-01-13Update copyright dateChristian Schneider1-1/+1
2021-01-13Unified } else { missed in first iterationChristian Schneider1-1/+3
2021-01-13Unified join to always use implodeChristian Schneider1-1/+1
2021-01-13Unified brace and else if styleChristian Schneider1-21/+46
2020-12-04Ignore all requests to /fonts/ for language override check, previous fix did ↵Christian Schneider1-1/+1
not work
2020-12-04Do not complain about missing language override for .woff/.woff2 filesChristian Schneider1-1/+1
2020-10-16document "followlocation"Urban Müller1-6/+8
2020-09-15Make itools PHP 8 compatibleChristian Schneider1-3/+3
2020-08-20only call handler after retriesNathan Gass1-5/+5
2020-08-20fix 3538e25, we should not leak memory per urlNathan Gass1-0/+3
2020-08-10vanilla php complianceUrban Müller1-2/+2
2020-08-10use positive list for retry status codesUrban Müller1-2/+3
2020-08-04correctly retry in ::get_multi, do retry in status 5xx in ::getUrban Müller1-4/+5
2020-08-03do not send empty headersUrban Müller1-2/+2
2020-07-30remove option with single use for now, fix inserting too many woke up ↵Urban Müller1-3/+1
handles at once
2020-07-30dont forget retry on last active url, support fetchsleepUrban Müller1-7/+9
2020-07-29Simplify _lock/_unlock by testing for lock parameter in callerChristian Schneider1-9/+9
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