From 66c93b639317e04ea2d3bc1b399b5ecfd11764c8 Mon Sep 17 00:00:00 2001 From: janekptacijarabaci Date: Mon, 24 Jul 2017 09:51:28 +0200 Subject: [PATCH] HTTP - HTTP2 - method: OPTIONS (Web Compatibility) --- netwerk/protocol/http/Http2Stream.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/netwerk/protocol/http/Http2Stream.cpp b/netwerk/protocol/http/Http2Stream.cpp index 340eccffef..27fdd10a78 100644 --- a/netwerk/protocol/http/Http2Stream.cpp +++ b/netwerk/protocol/http/Http2Stream.cpp @@ -495,8 +495,7 @@ Http2Stream::GenerateOpen() firstFrameFlags |= Http2Session::kFlag_END_STREAM; } else if (head->IsPost() || head->IsPut() || - head->IsConnect() || - head->IsOptions()) { + head->IsConnect()) { // place fin in a data frame even for 0 length messages for iterop } else if (!mRequestBodyLenRemaining) { // for other HTTP extension methods, rely on the content-length