ignore case when looking for "charset"#4723
Conversation
RF2616 says: "The type, subtype, and parameter attribute names are case-insensitive." https://tools.ietf.org/html/rfc2616#section-3.7
Current coverage is 88.74% (diff: 100%)
|
| format("HTTP request returned status code %d (%s)", | ||
| statusLine.code, statusLine.reason)); | ||
|
|
||
| // Default charset defined in HTTP RFC |
There was a problem hiding this comment.
Love the red but ... was it basically useless work duplicated elsewhere?
There was a problem hiding this comment.
Love the red but ... was it basically useless work duplicated elsewhere?
The charset detection is already done in the other location that's touched by this PR: HTTP.onReceiveHeader. The function here calls that.
|
LGTM |
|
nicely done |
|
Auto-merge toggled on |
|
@aG0aep6G ideally we can link every bug fix with a bugzilla issue, s.t. the end users sees what amazing work you / we did :) |
You mean so that the users see what embarrassing bugs we used to have ;) Can I retroactively link this to a bugzilla issue? Does the changelog script pick that up? I don't think a simple bug fix like this needs an entry in the prose section. |
Hehe no that they see what progress we make ;-)
AFAIK it's possible. I just created an issue & will check that the changelog script picks it up. |
Ok, thanks. I'll try to be more diligent in also filing issues when doing fixes. |
RF2616 says: "The type, subtype, and parameter attribute names are case-insensitive."
https://tools.ietf.org/html/rfc2616#section-3.7
See also: http://forum.dlang.org/post/scoeormeciaoiqxsefkz@forum.dlang.org.