requests-unixsocket icon indicating copy to clipboard operation
requests-unixsocket copied to clipboard

Use requests to talk HTTP via a UNIX domain socket

Results 14 requests-unixsocket issues
Sort by recently updated
recently updated
newest added

This way people can customize it to their liking, as there a lot of opinions about this, as evidenced by the comments on GH-34. The default parsing is still the...

BREAKING CHANGE: Remove timeout code and `timeout` parameter from method signatures, because it gives the impression of doing something, but seems to be ineffective (see https://github.com/msabramo/requests-unixsocket/issues/44#issuecomment-1001781097). Fixes: GH-44 Sem-Ver: api-break

bug
awaiting user feedback
breaking change

It seems like requests-unixsocket currently has its own way of setting timeouts, which differs from requests itself. - The default for requests-unixsocket is 60s unlike request's default of no timeout....

bug
awaiting user feedback
breaking change

Add a much friendlier URL scheme: e.g.: `http://sock.local/var/run/docker.sock/version` while still supporting the old scheme too (`http+unix://%2Fvar%2Frun%2Fdocker.sock/info`) The new scheme is nice, because it: - uses the "standard" protocol of `http://`...

Hi @msabramo, I see that https://pypi.org/project/requests-unixsocket/#history has v0.3.0 but github tags has only 0.2.0 as latest. Is there anything missing or is this intentional? Can you please give some more...

testutils: fix test flake on HEAD request Flakiness may be observed when running the unit tests. The symptom of that looks like: requests.exceptions.ConnectionError: ('Connection aborted.', BadStatusLine('Hello world!HTTP/1.1 200 OK\r\n')) We...

By inheriting from `urllib3.connection.HTTPConnection` (that inherits from `httplib.HTTPConnection` itself), we can adapt to the internal changes in urllib3 2.0 that added a `request()` method that is incompatible with httplib.HTTPConnection.request. This...

I am trying to run a requests with a UNIX socket but it fails using the latest versions in PyPI. I guess it is related to the change in major...

session.post return None when server return http error code example curl get 400 code: ~~~ curl --unix-socket /tmp/.kavhttpd -i -X POST -H "Content-Type:application/json" -d '{"object":"/home/dpdk-17.11.1-3.10.0_693.el7.x86_64.aaarpm"}' http://localhost/api/v3.0/scanfile HTTP/1.0 400 Bad Request...

Without this, all requests to `http+unix://` URLs fail with: `requests.exceptions.InvalidURL: Not supported URL scheme http+unix`. Fixes #73