You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the only way to change the "HttpVersion" of a request is on the ClientSession level. However, often (in my experience) changing the "HttpVersion" on the request level is desired.
Expected behaviour
I expect to be able to pass the version parameter to the session.get (or session.request in general) so I can change the http version on the request level.
Actual behaviour
The only way to change the version parameter is via the ClientSession object. A workaround I do now, (which is a bad practice) is to change the "private" class parameter called _version in the ClientSession instance.
The text was updated successfully, but these errors were encountered:
GitMate.io thinks the contributor most likely able to help you is @asvetlov.
Possibly related issues are #242 (Request's storage), #2130 (Rename changes to CHANGES ), #2024 (Preparing a websocket from a low-level-server request fails), #875 (Improve Request.repr), and #2998 (Change appveyor account).
Long story short
Currently, the only way to change the "HttpVersion" of a request is on the
ClientSession
level. However, often (in my experience) changing the "HttpVersion" on the request level is desired.Expected behaviour
I expect to be able to pass the
version
parameter to thesession.get
(orsession.request
in general) so I can change the http version on the request level.Actual behaviour
The only way to change the
version
parameter is via theClientSession
object. A workaround I do now, (which is a bad practice) is to change the "private" class parameter called_version
in theClientSession
instance.The text was updated successfully, but these errors were encountered: