Closed Bug 342353 Opened 19 years ago Closed 19 years ago

Firefox makes two GET's instead of just one

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 304574

People

(Reporter: jesper, Unassigned)

References

()

Details

(Keywords: regression)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060608 Ubuntu/dapper-security Firefox/1.5.0.4 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060608 Ubuntu/dapper-security Firefox/1.5.0.4 When trying to make a visit counter with graphics or any other kind of graphics for that matter, then firefox happens to make two GET requests to the server instead of one to receieve one image. This behaviour is confirmed with other linux users using firefox 1.5.0.4. konquror does not have this act of behaviour. Neither does the Mozilla 1.7.12. The behaviour of double requests was confirmed with http://livehttpheaders.mozdev.org/ The output from here is as following: http://arto.chanoandersen.dk/bruger/counter/counter.php?counter=FuzzyWuzzy&style=Red GET /bruger/counter/counter.php?counter=FuzzyWuzzy&style=Red HTTP/1.1 Host: arto.chanoandersen.dk User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060608 Ubuntu/dapper-security Firefox/1.5.0.4 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Cache-Control: max-age=0 HTTP/1.x 200 OK Date: Wed, 21 Jun 2006 22:10:29 GMT Server: Apache/1.3.34 (Unix) (Gentoo) mod_ssl/2.8.25 OpenSSL/0.9.7e PHP/5.1.4-pl0-gentoo mod_throttle/3.1.2 mod_gzip/1.3.26.1a X-Powered-By: PHP/5.1.4-pl0-gentoo Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: image/png ---------------------------------------------------------- http://arto.chanoandersen.dk/bruger/counter/counter.php?counter=FuzzyWuzzy&style=Red GET /bruger/counter/counter.php?counter=FuzzyWuzzy&style=Red HTTP/1.1 Host: arto.chanoandersen.dk User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060608 Ubuntu/dapper-security Firefox/1.5.0.4 Accept: image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive HTTP/1.x 200 OK Date: Wed, 21 Jun 2006 22:10:30 GMT Server: Apache/1.3.34 (Unix) (Gentoo) mod_ssl/2.8.25 OpenSSL/0.9.7e PHP/5.1.4-pl0-gentoo mod_throttle/3.1.2 mod_gzip/1.3.26.1a X-Powered-By: PHP/5.1.4-pl0-gentoo Keep-Alive: timeout=5, max=99 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: image/png ---------------------------------------------------------- Reproducible: Always Steps to Reproduce: 1. Visit the url to confirm this happens in firefox Actual Results: Firefox makes two GET requests to receieve one image Expected Results: Firefox makes one GET request to receieve one image
I see this too, with Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20060621 Minefield/3.0a1. This is related to the feature of showing an icon of the image when viewing a standalone image. If you set browser.chrome.image_icons.max_size to something tiny, like 2, this stops happening. This only happens if you load the counter URL by itself; it works correctly as an <img>.
Blocks: 125998
Keywords: regression
*** This bug has been marked as a duplicate of 304574 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
No longer blocks: 125998
You need to log in before you can comment on or make changes to this bug.