-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nitpick: If you catch `HTTPRedirection` then mypy complains that it doesn't have a `location` attribute (this is used in aiohttp-debugtoolbar, for example). Proposal to export `HTTPMove`, in order to catch any exceptions with location. (cherry picked from commit a5d6418)
- Loading branch information
1 parent
44b8fd4
commit 9e2b658
Showing
3 changed files
with
13 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Exported ``HTTPMove`` which can be used to catch any redirection request | ||
that has a location -- :user:`dreamsorcerer`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters