gradio/client/python/gradio_client
Aarni Koskela 2544e7bd16
URL validation/access fixes (#4695)
* is_valid_url: share a requests session for performance

* Rename is_valid_url to probe_url (because that makes sense for what it does); add is_http_url_like

* Do not allow encode_url_to_base64 to encode error responses

* Do not allow download_tmp_copy_of_file to download error responses as valid files

* Changelog

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-06-30 10:25:33 -05:00
..
__init__.py Switch linting to Ruff (#3710) 2023-04-03 15:48:18 -07:00
client.py Updates to the API endpoints / docs, and fixing the Theme builder (#4683) 2023-06-29 14:05:25 -05:00
data_classes.py Deprecate python 3.7 (#4484) 2023-06-13 21:52:33 -04:00
documentation.py More Ruff rules (#4038) 2023-05-04 21:54:23 -05:00
media_data.py Update view api page to use Python client (#3765) 2023-04-13 16:20:33 -07:00
serializing.py URL validation/access fixes (#4695) 2023-06-30 10:25:33 -05:00
types.json [WIP] Language Agnostic Typing in /info route (#4039) 2023-05-05 19:10:34 -05:00
utils.py URL validation/access fixes (#4695) 2023-06-30 10:25:33 -05:00
version.txt Fix output directory of files in client & when calling Blocks as function (#4501) 2023-06-14 17:08:10 -05:00