Skip to content
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

Support Django Channels' AsgiRequest #272

Merged
merged 2 commits into from
Jun 20, 2018

Conversation

svvitale
Copy link
Contributor

AsgiRequest does not have an environ member like the WSGIRequest. Instead, use the META dictionary, which contains the HTTP headers for both types of requests.

…r compatible with Django Channels' AsgiRequest in addition to the standard WSGIRequest.
@rokob
Copy link
Contributor

rokob commented Jun 20, 2018

It looks like the WSGIRequest environ attribute is identical to the META attribute on HttpRequest so this looks good to me.

@rokob rokob merged commit 9d75f59 into rollbar:master Jun 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants