forked from golang/net
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
webdav: add support for (custom) ETags and Content-Type.
This change adds ETag headers to GET/HEAD/POST and PUT responses. It does not update the existing If-header request handling. The ETag header and DAV property value can be overriden by implementing a custom property system. A similar scheme is provided for Content-Type. This CL makes net/webdav pass three more litmus ‘locks’ test cases successfully. Before: Summary for `locks': of 30 tests run: 27 passed, 3 failed. 90.0% After: Summary for `locks': of 34 tests run: 30 passed, 4 failed. 88.2% Change-Id: I5102b9ac18d20844deaaa630b62cc3611b3f0740 Reviewed-on: https://go-review.googlesource.com/4903 Reviewed-by: Nigel Tao <[email protected]>
- Loading branch information
Showing
3 changed files
with
175 additions
and
33 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