summaryrefslogtreecommitdiff
path: root/it_url.class
AgeCommit message (Collapse)AuthorFilesLines
2021-08-26make it possible to disable automatic decompression (by setting ↵Christian Helbling1-6/+10
accept_encoding to null), remove previously useless option compression
2021-07-22Change default caching from 24 to 23 hours to reduce risc of daily jobs to ↵Christian Schneider1-2/+2
use old data
2021-06-18Revert "use same default 5s timeout for ::get and ::get_cache", breaks ↵Christian A. Weber1-2/+2
existing stuff This reverts commit d010a9e036f9ed4b8bcd4674e1e99bde7ecf081e.
2021-06-17use same default 5s timeout for ::get and ::get_cacheUrban Müller1-2/+2
2021-06-16improve docsUrban Müller1-3/+3
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