Commit 91acf625 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Added nsIHttpChannel::VisitResponseHeaders implementation.

parent 71e7b1c5
......@@ -1247,10 +1247,16 @@ static nsresult NSAPI nsChannel_VisitResponseHeaders(nsIHttpChannel *iface,
static nsresult NSAPI nsChannel_IsNoStoreResponse(nsIHttpChannel *iface, PRBool *_retval)
{
nsChannel *This = NSCHANNEL_THIS(iface);
http_header_t *header;
FIXME("(%p)->(%p)\n", This, _retval);
static const WCHAR cache_controlW[] = {'C','a','c','h','e','-','C','o','n','t','r','o','l'};
static const WCHAR no_storeW[] = {'n','o','-','s','t','o','r','e',0};
return NS_ERROR_NOT_IMPLEMENTED;
TRACE("(%p)->(%p)\n", This, _retval);
header = find_http_header(&This->response_headers, cache_controlW, sizeof(cache_controlW)/sizeof(WCHAR));
*_retval = header && !strcmpiW(header->data, no_storeW);
return NS_OK;
}
static nsresult NSAPI nsChannel_IsNoCacheResponse(nsIHttpChannel *iface, PRBool *_retval)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment