Closed Bug 950910 Opened 11 years ago Closed 11 years ago

assign better default http reason phrases

Categories

(Core :: Networking: HTTP, defect)

29 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla29

People

(Reporter: mcmanus, Assigned: mcmanus)

Details

Attachments

(1 file)

this has been hanging around in the http/2 patch queue.. it can be committed right now separately. it is useful for http/1 too.
Attachment #8348320 - Flags: review?(hurley)
Assignee: nobody → mcmanus
Status: NEW → ASSIGNED
Attachment #8348320 - Flags: review?(hurley) → review+
Comment on attachment 8348320 [details] [diff] [review] http default reason phrases Review of attachment 8348320 [details] [diff] [review]: ----------------------------------------------------------------- ::: netwerk/protocol/http/nsHttpResponseHead.cpp @@ +159,5 @@ > + mStatusText.AssignLiteral("Temporary Redirect"); > + break; > + case 500: > + mStatusText.AssignLiteral("Internal Server Error"); > + break; nit: I think all of the above should be sorted into the list below. It'd be easier to read and I doubt there's any performance impact either way.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: