pyodide-http icon indicating copy to clipboard operation
pyodide-http copied to clipboard

Provides patches for widely used http libraries to make them work in Pyodide environments like JupyterLite

Results 18 pyodide-http issues
Sort by recently updated
recently updated
newest added

When using the python requests library, if one sets the body (data) to a file-like object, such as io.BytesIO or io.StringIO, the body becomes something like `` when using pyodide-http,...

If request.body is a file(-like) interface, read the full contents and then send it. See https://github.com/koenvo/pyodide-http/issues/38

Leaving this issue here to think about httpx support. I hope to come back to this one day and take a crack at it. I think it should be relatively...

Please document whether Node is supported and if so, please provide an example. This example failed for me: ``` const { loadPyodide } = require("pyodide"); async function hello_python() { let...

Using the [pyscript](https://github.com/koenvo/pyodide-http/blob/main/tests/pyscript.html) example in the tests folder. Server up the file using `python -m http.server --directory dist 8081` Visit page using Firefox results in the following error in browser...

This was erroneously opened in here https://github.com/pyodide/pyodide/issues/4191 ## 🐛 Bug While testing/demoing one of our apps in PSDC we noticed that while Chrome/ium was managing to load a 3rd party...

When executing `urlopen` (after patching) in a JupyterLite kernel, I get the following error. ```python --------------------------------------------------------------------------- BadStatusLine Traceback (most recent call last) Cell In[5], line 1 ----> 1 with urlopen(pkg_url)...

:wave: Hey, thanks for creating this project! When PyScript was announced at PyCon US 2022 I immediately tried to add support for synchronous HTTP requests w/ PyScript into urllib3 but...

Hi, first, your work saved a part of a project I was trying to port to wasm, thanks for having done that ! I just have small inconvenience : console...

When a request works in a regular python environment but not in the browser, often the problem are the lack of CORS headers/support, or blocked by a policy. Make sure...