Fix 37800

git-svn-id: svn://10.0.0.236/trunk@67977 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ruslan%netscape.com
2000-05-03 00:21:51 +00:00
parent 4225c9d4bf
commit 4b5228b83d
4 changed files with 9 additions and 5 deletions

View File

@@ -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