[Webkit-unassigned] [Bug 73005] http-cache can break app-cache's functionality

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 25 01:14:24 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=73005





--- Comment #6 from Jason <liuyang12341982 at 163.com>  2011-11-25 01:14:24 PST ---
(In reply to comment #5)
> (From update of attachment 116329 [details])
> Safari does not have this issue.
> 
> > But this time it will get the body from http-cache, and the status-code is 304.
> 
> This is where the bug is. HTTP cache should not send a 304 over when first loading an appcache. It would be useless, as it has no data, it has different headers etc. This is something you need to fix in your network back-end for it to be usable with WebKit. I guess that you might be adding response body after 304, which made regular browsing work, but that's not how it's supposed to be implemented.
> 
> Note that 304 can be returned when updating appcache (if HTTP cache doesn't have the response cached). That case is handled right above the line you modified in this patch.

I find safari has this issue on windows not MAC.
Did you try it on windows, too?

And do you mean http-cache will only send 200 to webkit although 304 received?
If we send 200 to webkit, inspector can't show 304 at all.

Thanks for your reply.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list