Dumping ground for http. More...
import "nsIHttpChannelInternal.idl";
Public Member Functions | |
void | getRequestVersion (out unsigned long major, out unsigned long minor) |
Get the major/minor version numbers for the request. | |
void | getResponseVersion (out unsigned long major, out unsigned long minor) |
Get the major/minor version numbers for the response. | |
void | setCookie (in string aCookieHeader) |
Helper method to set a cookie with a consumer-provided cookie header, _but_ using the channel's other information (URI's, prompters, date headers etc). | |
void | setupFallbackChannel (in string aFallbackKey) |
Setup this channel as an application cache fallback channel. | |
Public Attributes | |
attribute nsIURI | documentURI |
An http channel can own a reference to the document URI. | |
attribute boolean | forceAllowThirdPartyCookie |
Force relevant cookies to be sent with this load even if normally they wouldn't be. |
Dumping ground for http.
This interface will never be frozen. If you are using any feature exposed by this interface, be aware that this interface will change and you will be broken. You have been warned.
void nsIHttpChannelInternal::getRequestVersion | ( | out unsigned long | major, | |
out unsigned long | minor | |||
) |
Get the major/minor version numbers for the request.
void nsIHttpChannelInternal::getResponseVersion | ( | out unsigned long | major, | |
out unsigned long | minor | |||
) |
Get the major/minor version numbers for the response.
void nsIHttpChannelInternal::setCookie | ( | in string | aCookieHeader | ) |
Helper method to set a cookie with a consumer-provided cookie header, _but_ using the channel's other information (URI's, prompters, date headers etc).
aCookieHeader | The cookie header to be parsed. |
void nsIHttpChannelInternal::setupFallbackChannel | ( | in string | aFallbackKey | ) |
Setup this channel as an application cache fallback channel.
attribute nsIURI nsIHttpChannelInternal::documentURI |
An http channel can own a reference to the document URI.
Force relevant cookies to be sent with this load even if normally they wouldn't be.