Closed Bug 181046 Opened 22 years ago Closed 22 years ago

trim unnecessary bytes from standard request headers.

Categories

(Core :: Networking: HTTP, defect, P5)

defect

Tracking

()

VERIFIED FIXED
mozilla1.3alpha

People

(Reporter: darin.moz, Assigned: darin.moz)

Details

(Whiteboard: [snap])

Attachments

(1 file)

some of the standard request headers contain needless extra bytes:

  Accept-Language: en-us, en;q=0.50
  Accept-Encoding: gzip, deflate, compress;q=0.9
  Accept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66

these could be more compactly expressed like so:

  Accept-Language: en-us,en;q=0.5
  Accept-Encoding: gzip,deflate,compress;q=0.9
  Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

saving 8 bytes per request.  not a huge savings by any means, but the patch to
compact these headers is so trivial, why not make the change?
Severity: normal → trivial
Status: NEW → ASSIGNED
Priority: -- → P5
Whiteboard: [snap]
Target Milestone: --- → mozilla1.3alpha
Attached patch v1 patchSplinter Review
simple little patch
Attachment #106895 - Flags: superreview?(bzbarsky)
Attachment #106895 - Flags: review?(bbaetz)
Attachment #106895 - Flags: superreview?(bzbarsky) → superreview+
Attachment #106895 - Flags: review?(bbaetz) → review+
fixed-on-trunk
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
verified - 11/21/02 trunk - win NT4, linux rh6, mac osX

default headers for all platforms:

Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate,compress;q=0.9
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Status: RESOLVED → VERIFIED
QA Contact: httpqa → tever
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: