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
Sending empty header filed #362
Comments
I was not aware that passing empty string as header value forces header to be removed from request. That does not look correct. I mean that current Grab behavior does not look correct. So that is really have to be done is to change Grab so it does not delete header if its value is empty string. Also, same behavior should be implemented for urllib3 transport (or should be done nothing if it is already work in correct way in urllib3). |
I bet i saw this in the official documentation when i just started using |
At least author of Grab does not use empty headers in this way and even does not know that it works like this. So, nope, not everyone. |
According to this https://tools.ietf.org/html/rfc7230#section-3.2 empty value is allowed
|
I am closing this issue, because there is no pycurl backend in Grab anymore. And I guess no more users :D |
Sometimes there is a real need to send header filed with empty value. Example here explains how to do that.
The text was updated successfully, but these errors were encountered: