From f8b07e1d79e716a56cf96f4da554f75addaec529 Mon Sep 17 00:00:00 2001 From: "darin%netscape.com" Date: Thu, 26 Apr 2001 18:34:11 +0000 Subject: [PATCH] no need to SetRequestMethod("POST") if calling SetUploadStream(...) git-svn-id: svn://10.0.0.236/branches/HttpConnectionMagic_20010415_BRANCH@93154 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/modules/plugin/base/src/nsPluginHostImpl.cpp | 1 - mozilla/modules/plugin/nglsrc/nsPluginHostImpl.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/mozilla/modules/plugin/base/src/nsPluginHostImpl.cpp b/mozilla/modules/plugin/base/src/nsPluginHostImpl.cpp index 61a67829cc3..9bbfd3d93af 100644 --- a/mozilla/modules/plugin/base/src/nsPluginHostImpl.cpp +++ b/mozilla/modules/plugin/base/src/nsPluginHostImpl.cpp @@ -4009,7 +4009,6 @@ NS_IMETHODIMP nsPluginHostImpl::NewPluginURLStream(const nsString& aURL, if (postDataRandomAccess) postDataRandomAccess->Seek(PR_SEEK_SET, 0); - httpChannel->SetRequestMethod("POST"); httpChannel->SetUploadStream(postDataStream); if (newPostData) diff --git a/mozilla/modules/plugin/nglsrc/nsPluginHostImpl.cpp b/mozilla/modules/plugin/nglsrc/nsPluginHostImpl.cpp index 61a67829cc3..9bbfd3d93af 100644 --- a/mozilla/modules/plugin/nglsrc/nsPluginHostImpl.cpp +++ b/mozilla/modules/plugin/nglsrc/nsPluginHostImpl.cpp @@ -4009,7 +4009,6 @@ NS_IMETHODIMP nsPluginHostImpl::NewPluginURLStream(const nsString& aURL, if (postDataRandomAccess) postDataRandomAccess->Seek(PR_SEEK_SET, 0); - httpChannel->SetRequestMethod("POST"); httpChannel->SetUploadStream(postDataStream); if (newPostData)