bug 477578 - http methods should be case sensitive r=hurley
This commit is contained in:
@@ -786,8 +786,8 @@ HttpChannelChild::Redirect1Begin(const uint32_t& newChannelId,
|
||||
mResponseHead = new nsHttpResponseHead(responseHead);
|
||||
SetCookie(mResponseHead->PeekHeader(nsHttp::Set_Cookie));
|
||||
|
||||
bool rewriteToGET = nsHttp::ShouldRewriteRedirectToGET(
|
||||
mResponseHead->Status(), mRequestHead.Method());
|
||||
bool rewriteToGET = HttpBaseChannel::ShouldRewriteRedirectToGET(mResponseHead->Status(),
|
||||
mRequestHead.ParsedMethod());
|
||||
|
||||
rv = SetupReplacementChannel(uri, newChannel, !rewriteToGET);
|
||||
if (NS_FAILED(rv)) {
|
||||
|
||||
Reference in New Issue
Block a user