gradio/client/python/test
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
..
conftest.py Updates to the API endpoints / docs, and fixing the Theme builder (#4683) 2023-06-29 14:05:25 -05:00
requirements.txt Upgrade black to 23.3 (#4259) 2023-05-18 11:04:59 -04:00
test_client.py Updates to the API endpoints / docs, and fixing the Theme builder (#4683) 2023-06-29 14:05:25 -05:00
test_documentation.py Document python client in gradio.app/docs (#3764) 2023-04-06 12:58:42 -07:00
test_serializing.py Upgrade black to 23.3 (#4259) 2023-05-18 11:04:59 -04:00
test_utils.py URL validation/access fixes (#4695) 2023-06-30 10:25:33 -05:00