Skip to content

Commit

Permalink
Set the request property in the returned response
Browse files Browse the repository at this point in the history
Add a changes entry to bump the version to 2.1.0.

Resolves: #32
  • Loading branch information
dashea committed May 21, 2024
1 parent 829ecea commit ce642a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2.1.0 (21 May 2024)
===================
- Set the request property in the returned Response object

2.0.0 (29 Jan 2024)
===================
- Correct a typo in requests_file.py (github PR #21)
Expand Down
1 change: 1 addition & 0 deletions requests_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def send(self, request, **kwargs):
raise ValueError("file: URLs with hostname components are not permitted")

resp = Response()
resp.request = request

# Open the file, translate certain errors into HTTP responses
# Use urllib's unquote to translate percent escapes into whatever
Expand Down

0 comments on commit ce642a1

Please sign in to comment.