Commit Graph

1 Commits (0b06b2019f3b09f44c1cb045b90cd6a0ab649b1b)

Author SHA1 Message Date
KN4CK3R a35a5b225c
Add ETag header ()
* Add ETag header.

* Comply with RFC 7232.

* Moved logic into httpcache.go

* Changed name.

* Lint

* Implemented If-None-Match list.

* Fixed missing header on *

* Removed weak etag support.

* Removed * support.

* Added unit test.

* Lint

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>