[Webkit-unassigned] [Bug 8210] New: Unable to do conditional gets via XMLHttpRequest

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Wed Apr 5 22:13:52 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=8210

           Summary: Unable to do conditional gets via XMLHttpRequest
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
               URL: http://goolamabbas.org/cget/cget.html
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: WebKit Misc.
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: yusufg at gmail.com


i, I was trying to write a simple ajaxy application to learn Mochikit. The URL
above calls some simple JS functions which get a static file periodically and
print the HTTP status response code. I have setup mod_expires headers which
send outs Cache-Control: max-age=3 for the xml file delivered from the URL
above

I use the If-Modified-Since and If-None-Match header fields to simulate a
conditional get. The expectation is that the the alert window will show 200 the
first time and then 304 subsequently. This behaviour is demonstrated with
Internet Explorer 6.0/Windows and Firefox 1.0.7 on MacOSX. However if I use
Safari 2.0.3 and the latest nightly build on MacOSX 10.4.6 I am only shown
'200' in the alert box on the first time and then on subsequent call outs. 

I also see similar behaviour as Safari on Firefox 1.5.0.1 on Windows XP/2000
However, if I change the pref network.http.use-cache from true to false.
Firefox behaves as expected (alert shows '200' the first time and then '304'
subsequently)


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list