forked from glynos/cpp-netlib
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More complete response functionality.
In this commit we add rudimentary header processing. The equality check is not exactly correct as it's completely plausible that two different response instances have different merged headers, but for the meantime we're banking on internal equality rather than semantic equality. What needs to happen to fix this is to add a little bit of caching/merging logic to make sure that we're able to actually merge the actual headers waiting in the future with the added headers manually along with the removed headers, and compare those instead. Unfortunately that's too much work for now and it's not really necessary at this time.
- Loading branch information
1 parent
4ea2034
commit fcf4888
Showing
2 changed files
with
77 additions
and
6 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