Closed Bug 78018 Opened 23 years ago Closed 23 years ago

Document with charset != iso-8859-1 is GET twice from server

Categories

(Core :: Networking: HTTP, defect)

defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 61363

People

(Reporter: jrgmorrison, Assigned: darin.moz)

References

()

Details

Overview Description: 
 A document with a META element that has an 'http-equiv=Content-type' for a 
 charset that is not 'iso-8859-1' causes the document to be fetched twice from 
 a web server. Hopefully, it is possible to avoid the server round trip, since 
 the document should already be in the cache from the initial request. 

 Not sure who owns this (HTTP, Cache, i18n, Parser, etc.)

Ex. (from darin): http://status.mcom.com/~darin/test-meta-charset.html

<html>
<head>
<meta content="text/html; charset=windows-1252" http-equiv=Content-Type>
</head>
<body>
 this page comes to you with a charset specified in a meta tag.  
 it may load twice!
</body>
</html>


Steps to Reproduce: 
1) Load that page; look in the server logs or set breakpoints appropriately

Actual Results: two HTTP 200 OK appear for that document

Expected Results: if feasible, use the document that was just downloaded

Reproducibility: 100%

Additional Information: 

  See bug 77269 for previous history. 

  See also http://bugscape.mcom.com/show_bug.cgi?id=4540 (originally filed as
  bugzilla bug 64612) "Auto-Detect (All)" causes a duplicate HTTP GET (or POST)
  to be sent".
Oops. Forgot darin.
Dariin: related to bug 61363
Assignee: neeti → darin

*** This bug has been marked as a duplicate of 61363 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Verified dupe.
Status: RESOLVED → VERIFIED
QA Contact: tever → junruh
You need to log in before you can comment on or make changes to this bug.