-
Notifications
You must be signed in to change notification settings - Fork 47
Add function to pretty print HttpRequest #3636
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
Conversation
Test results 27 files 27 suites 46m 7s ⏱️ Results for commit aa01abc. ♻️ This comment has been updated with latest results. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3636 +/- ##
==========================================
+ Coverage 63.00% 63.02% +0.01%
==========================================
Files 612 612
Lines 45213 45226 +13
Branches 43 43
==========================================
+ Hits 28487 28503 +16
+ Misses 16716 16713 -3
Partials 10 10 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
1987828 to
1c1c4b4
Compare
Make it easy to dump the contents of a view's HttpRequest to a logger.
|



Scope and purpose
Make it easy to dump the contents of a view's HttpRequest to a logger.
This is useful for debugging http headers both in development and production, as the headers sent to Django are cleaned up and renamed before being made available to a view. Some webservers and proxies also tweak the headers.
Useful for debugging REMOTE_USER problems...
Contributor Checklist
Every pull request should have this checklist filled out, no matter how small it is.
More information about contributing to NAV can be found in the
Hacker's guide to NAV.
<major>.<minor>.x). For a new feature or other additions, it should be based onmaster.