gitea/routers/repo
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>
2021-04-12 10:49:26 -04:00
..
activity.go [refactor] replace int with httpStatusCodes () 2021-04-05 11:30:52 -04:00
attachment.go Add ETag header () 2021-04-12 10:49:26 -04:00
blame.go [refactor] replace int with httpStatusCodes () 2021-04-05 11:30:52 -04:00
branch.go Move modules/forms to services/forms () 2021-04-06 20:44:05 +01:00
commit.go [refactor] replace int with httpStatusCodes () 2021-04-05 11:30:52 -04:00
compare.go [refactor] replace int with httpStatusCodes () 2021-04-05 11:30:52 -04:00
download.go Add ETag header () 2021-04-12 10:49:26 -04:00
editor.go Move modules/forms to services/forms () 2021-04-06 20:44:05 +01:00
editor_test.go Add Close() method to gogitRepository () 2019-11-13 07:01:19 +00:00
http.go Code Formats, Nits & Unused Func/Var deletions () 2021-04-09 09:40:34 +02:00
issue.go Code Formats, Nits & Unused Func/Var deletions () 2021-04-09 09:40:34 +02:00
issue_dependency.go Fix wrong permissions check when issues/prs shared operations () 2020-01-20 13:00:32 +01:00
issue_label.go Move modules/forms to services/forms () 2021-04-06 20:44:05 +01:00
issue_label_test.go Move modules/forms to services/forms () 2021-04-06 20:44:05 +01:00
issue_lock.go Move modules/forms to services/forms () 2021-04-06 20:44:05 +01:00
issue_stopwatch.go Display current stopwatch in navbar () 2021-01-21 15:51:52 +01:00
issue_test.go Fix bug when combine label comments () 2021-03-05 16:17:32 +01:00
issue_timetrack.go Move modules/forms to services/forms () 2021-04-06 20:44:05 +01:00
issue_watch.go [refactor] replace int with httpStatusCodes () 2021-04-05 11:30:52 -04:00
lfs.go Add LFS Migration and Mirror () 2021-04-08 18:25:57 -04:00
main_test.go Unit tests for wiki routers () 2017-11-30 17:52:15 +02:00
middlewares.go Add gitea-vet () 2020-04-05 07:20:50 +01:00
migrate.go Add LFS Migration and Mirror () 2021-04-08 18:25:57 -04:00
milestone.go Add dashboard milestone search and repo milestone search by name () 2021-04-08 13:53:59 +02:00
projects.go Move modules/forms to services/forms () 2021-04-06 20:44:05 +01:00
projects_test.go KanBan: be able to set default board () 2021-01-15 22:29:32 +02:00
pull.go Move modules/forms to services/forms () 2021-04-06 20:44:05 +01:00
pull_review.go Move modules/forms to services/forms () 2021-04-06 20:44:05 +01:00
release.go Move modules/forms to services/forms () 2021-04-06 20:44:05 +01:00
release_test.go Move modules/forms to services/forms () 2021-04-06 20:44:05 +01:00
repo.go Fix CanCreateRepo check () 2021-04-07 09:26:41 +02:00
search.go [refactor] replace int with httpStatusCodes () 2021-04-05 11:30:52 -04:00
setting.go Add LFS Migration and Mirror () 2021-04-08 18:25:57 -04:00
setting_protected_branch.go Code Formats, Nits & Unused Func/Var deletions () 2021-04-09 09:40:34 +02:00
settings_test.go Move modules/forms to services/forms () 2021-04-06 20:44:05 +01:00
topic.go [refactor] replace int with httpStatusCodes () 2021-04-05 11:30:52 -04:00
view.go Add LFS Migration and Mirror () 2021-04-08 18:25:57 -04:00
webhook.go Move modules/forms to services/forms () 2021-04-06 20:44:05 +01:00
wiki.go Move modules/forms to services/forms () 2021-04-06 20:44:05 +01:00
wiki_test.go Move modules/forms to services/forms () 2021-04-06 20:44:05 +01:00