There was an error while loading. Please reload this page.
OPTIONS
1 parent 7b5808d commit bb00275Copy full SHA for bb00275
1 file changed
src/core/proto/headers.rs
@@ -86,7 +86,7 @@ fn from_digits(bytes: &[u8]) -> Option<u64> {
86
pub(super) fn method_has_defined_payload_semantics(method: &Method) -> bool {
87
!matches!(
88
*method,
89
- Method::GET | Method::HEAD | Method::DELETE | Method::CONNECT
+ Method::GET | Method::HEAD | Method::DELETE | Method::CONNECT | Method::OPTIONS
90
)
91
}
92
0 commit comments