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
..
js chore: update versions (#4720) 2023-06-29 15:55:28 +01:00
python URL validation/access fixes (#4695) 2023-06-30 10:25:33 -05:00