-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Use MultiDict for headers #3
Comments
Well, to be precise the problem is not dict itself but merging headers with the same name into one entry. 2.7.2
3.2.2
This functionality is provided by (undocumented?) The issue we see was raised as issue 1660009 continuing problem with httplib multiple set-cookie headers Python issue. |
@piotr-dobrogost Thanks for doing the research and posting an update of the current state. The 3.2.2 thing is very interesting. Maybe we can punt this issue to "someday when we fork for 3.x" like the rest. :P I'll open a py3 issue to track these things. |
Just FYI. It is not totally an issue. It is subtle. https://github.com/kennethreitz/requests/issues/741#issuecomment-7293231 |
We have |
Scaffolding to make a simple trio request work
- Move to staticmethod instead of classmethod, also make it private. - Error out if SSLTransport isn't available and we need to do TLS-in-TLS. - Avoid modifying the signature of prepare_proxy.
- Add links to HTTP CONNECT. - Several style improvements. - Clarified TLS-in-TLS section. - Updated links on the socks examples.
Currently httplib coerces headers into a dict, which breaks some things. Some monkeypatching might be required.
See also: Issue 15 @ GoogleCode for more discussion.
The text was updated successfully, but these errors were encountered: