Never store ETags computed on partial data#28
Conversation
|
Looks good. Is there a way to not even listen to responses when the status code indicates not to produce an etag? |
|
I initially moved the actual generation logic to the marshal handler, which is never called on |
|
Makes sense. |
Never store ETags computed on partial data
|
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions. |
This fixes #27 by checking that all bytes have been processed before caching the ETag.
I have included two tests that would fail on the old code.
/cc @hueniverse for review.