Rack headers upCase and HTTP_X prefix?

Hi, Is there a statement of advise anywhere which speaks about the
normalization of http headers with respect to use with Rack::?
In particular UPPercase and ‘HTTP_X’ prefix use?

MarkT

On 6 Feb 2012, at 23:57, Mark T wrote:

Hi, Is there a statement of advise anywhere which speaks about the
normalization of http headers with respect to use with Rack::?
In particular UPPercase and ‘HTTP_X’ prefix use?

MarkT

Hi Mark,

I found out the other day that X-headers have a draft proposal to no
longer be used, from this stackoverlow post:

http://stackoverflow.com/questions/3561381/custom-http-headers-naming-conventions

I’m not sure about the case, I just try to be consistent as hashes are
case sensitive.

Regards,
Iain

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs