Fix 37800

This commit is contained in:
ruslan@netscape.com
2000-05-03 00:21:51 +00:00
parent 399dac0531
commit bd9f7e73e3
3 changed files with 6 additions and 4 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