Skip to content

Commit

Permalink
Merge pull request #196 from inhabitedtype/body-close-delimited
Browse files Browse the repository at this point in the history
remove unused close-delimited match
  • Loading branch information
dpatti authored Apr 3, 2021
2 parents b068e03 + 8aab983 commit 9741c42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/parse.ml
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ module Reader = struct
| `Fixed 0L ->
handler request Body.empty;
ok
| `Fixed _ | `Chunked | `Close_delimited as encoding ->
| `Fixed _ | `Chunked as encoding ->
let request_body = Body.create_reader Bigstringaf.empty in
handler request request_body;
body ~encoding request_body *> ok
Expand Down

0 comments on commit 9741c42

Please sign in to comment.