HTTP - HTTP2 - method: OPTIONS (Web Compatibility)

This commit is contained in:
janekptacijarabaci
2017-07-24 09:51:28 +02:00
committed by Roy Tam
parent 165fb73bde
commit 66c93b6393
+1 -2
View File
@@ -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