Skip to content

Commit b61e641

Browse files
committed
EOF handling.
1 parent 0ae0339 commit b61e641

File tree

7 files changed

+6
-0
lines changed

7 files changed

+6
-0
lines changed

test/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ def iface():
88
interface = Interface('https://httpbin.org/')
99
yield interface
1010
interface._ua.close()
11+

test/test_context.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,4 @@ def test_context_management(iface):
5555

5656
# The underlying user agent / client will now be dead and can not be re-used.
5757
# This will impact all derived (and parent!) interface instances sharing the same UA.
58+

test/test_persistence.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ def test_cookie(self, iface):
1111
# Validate that the root session applied to the child request.
1212
assert 'Cookie' in result['headers']
1313
assert result['headers']['Cookie'] == 'test=42'
14+

web/api/client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,3 +214,4 @@ def delete(self, **params) -> Response:
214214
"""Issue a raw HTTP DELETE request to this endpoint, using keyword arguments as query string parameters."""
215215

216216
return self('DELETE', params=params, _raw=True)
217+

web/api/processing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,3 +134,4 @@ def _process(self, request:Request, response:Mapping):
134134
raise ValueError("Request not successful.", extra={'message': traverse(result, self._message, None)})
135135

136136
return traverse(result, self._content) if self._content else result
137+

web/api/typing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,4 @@ def __link__(self) -> 'URI':
5353

5454
# Request body deserializer, accepting a string and returning any arbitrary deserialized object.
5555
Deserializer = Callable[[str], Any]
56+

web/api/util.py

Whitespace-only changes.

0 commit comments

Comments
 (0)