~dbungert/ubuntu/+source/python-requests-unixsocket:upstream-lp-2053154

Last commit made on 2024-02-15
Get this branch:
git clone -b upstream-lp-2053154 https://git.launchpad.net/~dbungert/ubuntu/+source/python-requests-unixsocket
Only Dan Bungert can upload to this branch. If you are Dan Bungert please log in for upload directions.

Branch merges

Branch information

Name:
upstream-lp-2053154
Repository:
lp:~dbungert/ubuntu/+source/python-requests-unixsocket

Recent commits

c39f2b3... by Dan Bungert

testutils: fix test flake on HEAD request

Test flakiness may be observed with 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 believe that, with the correct send and recv timing, the "Hello
world!" body from a HEAD request will be left unread in the reused
socket, resulting in an invalid read for the next request along.

Co-authored-by: Olivier Gayot <email address hidden>

31bdd06... by Marc Abramowitz

Merge pull request #63 from msabramo/test_use_UnixAdapter_directly

test: add test_use_UnixAdapter_directly

34fffb0... by Marc Abramowitz <email address hidden>

test: add test_use_UnixAdapter_directly

This new test tests using the `UnixAdapter` directly, like
[httpie-unixsocket](https://github.com/httpie/httpie-unixsocket) does.

I wrote this test because I found a case, on the `pluggable-urlparse`
branch, where tests were passing, but executing:

```
http http+unix://%2Fvar%2Frun%2Fdocker.sock/info
```

was failing.

8449bc0... by Marc Abramowitz

Merge pull request #61 from msabramo/remove-urllib3-dep

Remove urllib3 dep

4edb84e... by Marc Abramowitz <email address hidden>

Remove urllib3 dep

since we can use the version bundled with `requests`.

Fixes: GH-45

3463cfc... by Marc Abramowitz

Merge pull request #60 from msabramo/setup-cfg-metadata-update

Update setup.cfg metadata - => _

f7f43cb... by Marc Abramowitz <email address hidden>

Update setup.cfg metadata - => _

Change dashes in names to underscores to get rid of warnings when
building a package.

Fixes: GH-53

9fe7258... by Marc Abramowitz

Merge pull request #59 from msabramo/remove-Vagrantfile

Remove Vagrantfile

c6270d3... by Marc Abramowitz <email address hidden>

Remove Vagrantfile

I can't get it to work and I don't want to fix it

59b85ac... by Marc Abramowitz

Merge pull request #58 from msabramo/remove-travis

Remove .travis.yml