Closed
Bug 247555
Opened 21 years ago
Closed 21 years ago
Cache-Control: no-store causes Mozilla not to load page
Categories
(Core :: Networking: HTTP, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: trouchelle, Assigned: darin.moz)
Details
Attachments
(1 file)
681 bytes,
text/plain
|
Details |
User-Agent: User-Agent: Mozilla/5.0 (OS/2; U; OS/2 5.0; en-US; rv:1.6) Gecko/20040113 TorMozilla
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616
When Mozilla 1.7 or 1.8a1 gets HTTP response with Cache-Control field, which
contains "no-store", it fails to get page and render it. It appears on both
proxy and direct HTTP requests, under HTTP/1.0 and HTTP/1.1, with pipelining or
without it.
Here's simple perl script, which reproduces problem:
-- cut --
#!/usr/bin/perl -w
use strict;
use warnings;
use CGI qw/:standard/;
my $query = new CGI;
my $type = $query->param('type') || 0;
if ($type == 0) {
print <<EOT;
Content-Type: text/html
Date: Fri, 18 Jun 2004 16:30:12 GMT
Connection: close
<html>
<head><title>OK</title></head>
<p>OK</p>
<p>This is type 0</p>
<p><a href="./moz-test.pl?type=1">Goto type 1</a></p>
EOT
} elsif ($type == 1) {
print <<EOT;
Content-Type: text/html
Cache-Control: no-store
Date: Fri, 18 Jun 2004 16:30:12 GMT
Connection: close
<html>
<head><title>OK</title></head>
<p>OK</p>
<p>This is type 1</p>
<p><a href="./moz-test.pl?type=0">Goto type 0</a></p>
EOT
}
-- cut --
Firefox 0.9 doesn't contain this bug.
Reproducible: Always
Steps to Reproduce:
1. Put perlfile under http server, set it executable
2. Open this file with browser
3. Click on link several times
Actual Results:
Only "type 0" page is shown.
Expected Results:
Both pages have to be shown.
Reporter | ||
Comment 1•21 years ago
|
||
Comment 2•21 years ago
|
||
This reads a lot like bug 184304.
Assignee | ||
Comment 3•21 years ago
|
||
This is WORKSFORME with Firefox 0.9 under Fedora Core 2. The page that shows up
on link clicks toggles between Type 0 and Type 1.
Can you please provide a HTTP log per the instructions provided here:
http://www.mozilla.org/projects/netlib/http/http-debugging.html
Thanks!
Assignee | ||
Comment 4•21 years ago
|
||
resolving WORKSFORME. please REOPEN this bug if you can still reproduce it.
please supply the requested HTTP log file when you reopen it, thanks!
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•