mureq
mureq copied to clipboard
Single-file alternative to python-requests
python-requests supports passing an auth object, example: ```python r = request(method, url, auth=("user", "password")) ``` It detects basic authentication and builds the `Basic {b64encoded}` Authentication header for you It would...
Would be really nice to have type hints for this project. I don't know if you want to target Python 2 or python < 3.5 but in that case you...
Please. :)
Right now, `_prepare_request` initializes (but doesn't connect) either a `HTTPConnection`, an `HTTPSConnection`, or an `UnixHTTPConnection` depending on the URL and other parameters. If we added a optional callback arg that...
1. Add `# flake8: noqa`. This is blocked on Ubuntu 22.04, which will contain the fix for https://github.com/pycqa/flake8/issues/318 2. Add analogous noqa comments for other linters / IDEs
https://github.com/slingamn/mureq/blob/6c6f6fca77357960a2d06d5ad9f2d113e3610d66/mureq.py#L144-L146 It's technically not incorrect to send GET with a body, but the body is always ignored so we shouldn't send it.