searx/searx
Noémi Ványi ea38fea711
Pick image_proxy changes from searxng (#2965)
* [mod] /image_proxy: don't decompress images

* [fix] image_proxy: always close the httpx respone

previously, when the content type was not an image and some other error,
the httpx response was not closed

* [mod] /image_proxy: use HTTP/1 instead of HTTP/2

httpx: HTTP/2 is slow when a lot data is downloaded.
https://github.com/dalf/pyhttp-benchmark

also, the usage of HTTP/1 decreases the load average

* [mod] searx.utils.dict_subset: rewrite with comprehension

Co-authored-by: Alexandre Flament <alex@al-f.net>
2022-01-22 13:49:00 +01:00
..
answerers [fix] answers: don't crash when the query is an empty string 2021-03-01 10:52:39 +01:00
data Update searx.data - update_firefox_version.py (#3079) 2022-01-07 21:49:50 +01:00
engines [enh] Add Tineye reverse image search (#3040) 2022-01-22 12:15:19 +01:00
metrology [enh] replace requests by httpx 2021-05-03 21:39:37 +02:00
network Pick image_proxy changes from searxng (#2965) 2022-01-22 13:49:00 +01:00
plugins [enh] Add Pagination to Wiby / Fix Kaufland (#3000) 2021-10-10 20:52:06 +02:00
search Update httpx and friends to 0.21.3 (#3121) 2022-01-15 19:16:10 +01:00
shared [fix] checker: don't run the checker when uwsgi is not properly configured 2021-01-13 14:07:39 +01:00
static [fix] CSS: improve text overflow of custom select (#2985) 2021-10-10 15:38:18 +02:00
templates products results: add possibility to show if a product is in stock or not.. (#3120) 2022-01-11 22:39:08 +01:00
translations [enh] update translations from transifex 2021-03-27 19:10:54 +01:00
__init__.py [mod] settings.yml: move brand settings to a dedicated section 2021-01-11 22:59:52 +01:00
autocomplete.py [fix] startpage autocompletion 2022-01-22 12:18:57 +01:00
exceptions.py [enh] add raise_for_httperror 2020-12-11 14:37:08 +01:00
external_bang.py [mod] add utils/fetch_external_bangs.py 2021-02-24 18:48:36 +01:00
external_urls.py [enh] openstreetmap / map template: improve results 2021-10-02 14:57:30 +02:00
languages.py Update searx.data - update_languages.py 2021-03-05 10:56:46 +00:00
preferences.py Bump pylint from 2.9.6 to 2.10.2 2021-08-22 20:53:12 +02:00
query.py [enh] autocomplete refactoring, autocomplete on external bangs 2021-03-01 19:12:32 +01:00
results.py Add scheme to img_src and thumbnail_url if missing from URL 2022-01-22 11:59:21 +01:00
settings.yml [enh] Add Tineye reverse image search (#3040) 2022-01-22 12:15:19 +01:00
settings_loader.py adjust comment based on previous patch 2021-11-14 17:51:22 +01:00
settings_robot.yml Use oadoi.org as default_doi_resolver 2021-04-29 22:43:52 +02:00
testing.py [httpx] replace searx.poolrequests by searx.network 2021-05-03 21:39:54 +02:00
utils.py Pick image_proxy changes from searxng (#2965) 2022-01-22 13:49:00 +01:00
version.py [enh] release v1.0.0 2021-03-27 20:30:08 +01:00
webadapter.py [fix] typo in searx.webadapter.parse_lang 2021-09-19 17:37:35 +02:00
webapp.py Pick image_proxy changes from searxng (#2965) 2022-01-22 13:49:00 +01:00
webutils.py Updated webutils.highlight_content to ignore double-quotes when highlighting query parts 2021-02-08 23:58:54 -05:00