-
-
Notifications
You must be signed in to change notification settings - Fork 862
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor middleware #325
Refactor middleware #325
Conversation
6b94d00
to
4545646
Compare
Could we do those extras in this PR too under the cover of "refactor middlewares"? |
Uh, I guess I'm OK with that. I have another idea for refactoring the |
64e2b1f
to
910af27
Compare
Totally agree. You might have some minor conflicts over the PR I just merged. |
Already force-pushed a rebase. 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you fix the one comment below you're good to merge this. 👍
Prompted by #305 (comment)
Moves the existing middleware in
middleware.py
into their own module in amiddleware
package.Next up, a basic auth refactor including:
to_bytes()
build_basic_auth_header()
helper.