-
Notifications
You must be signed in to change notification settings - Fork 309
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle parsing batch replies which minimal responses.
A DELETE in a batch has no body, but it can also have very minimal headers, ensure a reply where the batch only has a status line and one (or no) header works correctly. Fixes #378
- Loading branch information
Showing
4 changed files
with
95 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--batch_hXL_3_UnLsQ_AAYW6kQ4LYU | ||
Content-Type: application/http | ||
Content-ID: response-gtlr_39 | ||
|
||
HTTP/1.1 204 No Content | ||
Date: Wed, 24 Jun 2020 09:21:24 GMT | ||
|
||
|
||
--batch_hXL_3_UnLsQ_AAYW6kQ4LYU | ||
Content-Type: application/http | ||
Content-ID: response-gtlr_40 | ||
|
||
HTTP/1.1 204 No Content | ||
|
||
|
||
--batch_hXL_3_UnLsQ_AAYW6kQ4LYU |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters