Small HTTP api change.

git-svn-id: svn://10.0.0.236/trunk@66817 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
gagan%netscape.com
2000-04-22 00:40:21 +00:00
parent 0dc8ee1f48
commit 7265366ff3
2 changed files with 2 additions and 2 deletions

View File

@@ -2525,7 +2525,7 @@ NS_IMETHODIMP nsDocShell::DoURILoad(nsIURI* aURI, nsIURI* aReferrerURI,
if(aPostData)
{
httpChannel->SetRequestMethod(HM_POST);
httpChannel->SetPostDataStream(aPostData);
httpChannel->SetUploadStream(aPostData);
}
// Set the referrer explicitly
if(aReferrerURI) // Referrer is currenly only set for link clicks here.