Closed Bug 1384252 Opened 7 years ago Closed 7 years ago

"origin" header should be "Origin" (title-case)

Categories

(Core :: Networking: HTTP, defect)

54 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1277496

People

(Reporter: josh, Unassigned)

Details

Attachments

(1 file)

Attached image headers.PNG
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36

Steps to reproduce:

make a CORS request (GET).  Assuming page is at http://localhost

Windows 10 54.0.1 (64-bit)


Actual results:

The Origin header is being submitted in all lower case "origin" - this isn't correct, and it is breaking filters. 

origin: http://localhost


Expected results:

The Origin header should be submitted in Title Case just like all of the other headers (and HTTP spec). 

Origin: http://localhost
Component: Untriaged → Networking: HTTP
Product: Firefox → Core
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: