-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Http.Headers: fix semantics of 'first'
The headers are dealt with in reverse order for speed and reversed once converted back to list. This means that to move an element to the top of the headers we need to attach it to the bottom of the list. The private method has been mofied accordingly. The bug was spotted when fixing the null-header test to address the lack of version in the user-agent header for development versions of cohttp Signed-off-by: Marcello Seri <[email protected]>
- Loading branch information
Showing
3 changed files
with
23 additions
and
11 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