Fix 37800
git-svn-id: svn://10.0.0.236/trunk@67977 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2539,7 +2539,8 @@ NS_IMETHODIMP nsDocShell::DoURILoad(nsIURI* aURI, nsIURI* aReferrerURI,
|
||||
// right now, this is only done for http channels.....
|
||||
if(aPostData)
|
||||
{
|
||||
httpChannel->SetRequestMethod(HM_POST);
|
||||
nsCOMPtr<nsIAtom> method = NS_NewAtom ("POST");
|
||||
httpChannel->SetRequestMethod(method);
|
||||
httpChannel->SetUploadStream(aPostData);
|
||||
}
|
||||
// Set the referrer explicitly
|
||||
|
||||
Reference in New Issue
Block a user