-
Notifications
You must be signed in to change notification settings - Fork 158
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
WS Http Request Version Default To 1.1 #891
WS Http Request Version Default To 1.1 #891
Conversation
@brimworks Does this seem like a reasonable change? |
I don't think this client supports chunked encoding and thus it really doesn't support http 1.1. Maybe the request filtering mechanism could be modified to support changes to the http version so individual usage of this library could change the version? |
Here is a nice summary of http 1.1 clients: https://www2.cs.uh.edu/~gnawali/courses/cosc6377-f12/p1/http.html#http1.1clients Technical these requirements are not met, which is why I don't think we should change the http version (by default). |
@brimworks For Websocket connections we need to have Http 1.1 , should we then use http 1.1 for that particular use case ? |
@aditya-agarwal-groww is correct and I am wrong. This should be HTTP 1.1 as per the RFC that defines websocks it states: The method of the request MUST be GET, and the HTTP version MUST Source: https://datatracker.ietf.org/doc/html/rfc6455 Hopefully the unimplemented parts of HTTP 1.1 don't come back and bite us later. |
@brimworks Thanks for stepping in here. @aditya-agarwal-groww I'll merge it when the build completes and that will build the next 2.16.11-SNAPSHOT. I'll try to do a full release within the next 2 weeks. |
@scottf Sure, thanks a lot !! |
hey @scottf for some reason coverage/coveralls job is still pending |
Coverage doesn't work for forks. I'll be merging this, I've just been out of office. |
No description provided.