Closed Bug 92553 Opened 24 years ago Closed 24 years ago

Problem viewing webpage with blank Content-type

Categories

(Core :: Networking: HTTP, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 83465

People

(Reporter: bgallia, Assigned: neeti)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010701 BuildID: 2001070116 DirecTV Broadband (formally known as Telocity DSL) provides a DSL gateway with an embedded OS/webserver. The status of the DSL connection can be queried by going to the main web page of the embedded webserver. This works find for Netscape 4.x, IE 5.x & Konqueror 2.x which display the page as an HTML page. However, Mozilla 0.9.2 prompts "You have chosen to download a file of type: "#1" [#2] from #3" A look at the HTTP header reveals that the embedded webserver is returning an empty Content-Type, but should Mozilla's way of handling this be considered "correct?" Reproducible: Always Steps to Reproduce: 1.Find a web server which produces an empty "Content-Type:" 2.Confirm IE, Netscape 4.x & Konqueror treat content-type as default or text/html 3.Confirm that Mozilla prompts for file download Actual Results: Identical to description above Expected Results: Treated empty content-type as if no content-type had been specified at all (defaulted back to text/html) as appears to be the behavior of most other web browsers. Embedded webserver HTTP responce as follows: HTTP/1.0 200 OK Connection: close Server: Gateway WindWeb/1.1 Date: THU JAN 01 00:37:15 1970 Content-Type: WWW-Authenticate: Basic realm="Gateway" <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Telocity Services and Status</title> . . . [rest cut off]
This is a dupe of Bug 83465 : "response with empty content-type opens helper dialog (telocity dsl modem/router)" *** This bug has been marked as a duplicate of 83465 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
VERIFIED/DUPE: same problem
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.