-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Custom value for Upgrade header is removed #1587
Labels
Comments
fafhrd91
pushed a commit
that referenced
this issue
Feb 6, 2017
should be fixed in master |
please open another ticket if you'll have other problems |
fafhrd91
pushed a commit
that referenced
this issue
Feb 6, 2017
Great, thank you very much! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Long story short
I'm writing a client library for the Apple TV and want to add support for playing media based on an URL via AirPlay. To receive events (so that I know when it's done playing), I need a reverse HTTP connection. This requires me to "upgrade" the connection to PTTH/1.0 but aiohttp does not allow me to set this header.
Expected behaviour
Header should be included like any other header.
Actual behaviour
It is ignored which makes the Apple TV respond with a 412. Only "websocket" works.
Steps to reproduce
Concept of what I'm trying to do:
All other headers are included, but "Upgrade" is left out. I'm quite stuck here unless there's some other solution I can use? Or can this behavior be supported?
Your environment
Local network, python 3.5.1 on macOS 10.12.3, aiohttp 1.2.0
The text was updated successfully, but these errors were encountered: