You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "haosdent (JIRA)" <ji...@apache.org> on 2015/05/02 20:11:05 UTC
[jira] [Commented] (MESOS-328) HTTP headers should be considered
case-insensitive.
[ https://issues.apache.org/jira/browse/MESOS-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14525385#comment-14525385 ]
haosdent commented on MESOS-328:
--------------------------------
I think implement a case insensitive hashmap in stout, and change the type of headers field in struct Request and Response could be solve this.
> HTTP headers should be considered case-insensitive.
> ---------------------------------------------------
>
> Key: MESOS-328
> URL: https://issues.apache.org/jira/browse/MESOS-328
> Project: Mesos
> Issue Type: Bug
> Components: libprocess
> Reporter: Benjamin Mahler
> Priority: Minor
> Labels: twitter
>
> I found this when writing some tests for the decoder in libprocess.
> Message header names should be case-insensitive:
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2
> Creating this issue to track it, I'm going to add some TODOs for now.
> Most clients tend to use Camel-Case for the headers so this is not urgent.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)