- From: Hallvord R M Steen <hallvors@gmail.com>
- Date: Thu, 15 Dec 2005 14:28:08 +0100
On http://whatwg.org/specs/web-apps/current-work/#scripted-http The section on setRequestHeader isn't really clear on what headers a JavaScript author is allowed to specify, particularly this: > UAs may set the If-Modified-Since, If-None-Match, If-Range, and Range headers > if the resource is cached and has not expired (as allowed by HTTP), and must > not allow those headers to be overridden. Can setRequestHeader override these headers if the resource isn't cached, or if the method is one cacheing doesn't apply to (such as POST)? I suggest deleting the stuff about cacheing ( - it's implementation details subject to more logic that we can easily put into this paragraph anyway - ) and saying > UAs may set the If-Modified-Since, If-None-Match, If-Range, and Range headers. > Scripts must not be allowed to override or add these headers. ..if that's the policy we want, that is :-p Run discussion.. -- Hallvord R. M. Steen
Received on Thursday, 15 December 2005 05:28:08 UTC