-
-
Notifications
You must be signed in to change notification settings - Fork 754
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
Added asgi version and spec_version to scope #597
Conversation
Minor import sort corrected in a test
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.
Great start! Did a bit of digging around scope["asgi"]["version"]
, my notes below.
@florimondmanca should I write a test for it @florimondmanca ? seems a little bit useless to me but if you want |
Yes ideally let's add a test to prevent regressions. Surely there's somewhere we test the content of |
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.
Forgot to submit this one :-)
I put the latest master changes, which caught some small stuff with flake8 ! I think it should be ok now, would be great if you have time to take a look at it @florimondmanca |
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.
Yup, looks good!
This is a regression introduced in ae0fd31 (encode#597)
attempt at solving #578
Fixes #578