gitea/routers
KN4CK3R 5da024a019
Add ETag header (#15370) (#15552)
* 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>

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2021-04-20 12:01:58 -04:00
..
admin Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
api/v1 Fix delete nonexist oauth application 500 and prevent deadlock (#15384) (#15396) 2021-04-11 04:57:44 +02:00
dev Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
events Drop the event source if we are unauthorized (#15275) (#15280) 2021-04-04 20:39:22 -04:00
org Organization removal confirmation using name not password (#14738) 2021-03-01 16:33:05 +02:00
private Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
repo Add ETag header (#15370) (#15552) 2021-04-20 12:01:58 -04:00
routes Turn RepoRef and RepoAssignment back into func(*Context) (#15372) (#15377) 2021-04-09 22:24:40 -04:00
user Performance improvement for list pull requests (#15447) (#15500) 2021-04-16 01:14:14 +03:00
utils Clarify the suffices and prefixes of setting.AppSubURL and setting.AppURL (#12999) 2021-02-19 22:36:43 +01:00
home.go Add ui.explore settings to control view of explore pages (2) (#14094) 2021-03-11 13:40:54 +00:00
init.go Print usefull error if SQLite is used in settings but not supported (#14476) 2021-01-27 04:57:18 +01:00
install.go Add SameSite setting for cookies (#14900) 2021-03-07 08:12:43 +00:00
metrics.go Move metrics from macaron to chi (#13601) 2020-11-17 15:50:06 -05:00
swagger_json.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00