зеркало из https://github.com/mozilla/gecko-dev.git
Bug 656251: remove verbosity in Accept header for fetching XSLTs, r=sicking
This commit is contained in:
Родитель
3c0f63daf4
Коммит
4b30be0b3e
|
@ -498,7 +498,7 @@ txCompileObserver::startLoad(nsIURI* aUri, txStylesheetCompiler* aCompiler,
|
|||
nsCOMPtr<nsIHttpChannel> httpChannel(do_QueryInterface(channel));
|
||||
if (httpChannel) {
|
||||
httpChannel->SetRequestHeader(NS_LITERAL_CSTRING("Accept"),
|
||||
NS_LITERAL_CSTRING("text/xml,application/xml,application/xhtml+xml,application/xslt+xml,*/*;q=0.1"),
|
||||
NS_LITERAL_CSTRING("*/*"),
|
||||
PR_FALSE);
|
||||
|
||||
nsCOMPtr<nsIURI> referrerURI;
|
||||
|
|
Загрузка…
Ссылка в новой задаче