0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 11:57:03 +01:00
gitea/modules/context
zeripath 8e2a8efd84
Prevent superfluous response.WriteHeader (#15456)
This PR simply checks the status before writing the header.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-04-14 14:57:18 +02:00
..
access_log.go
api_org.go
api_test.go
api.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
auth.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
captcha.go
context.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
csrf.go Add SameSite setting for cookies (#14900) 2021-03-07 08:12:43 +00:00
form.go
org.go
pagination.go
permission.go
private.go
repo.go Turn RepoRef and RepoAssignment back into func(*Context) (#15372) 2021-04-09 20:26:08 -04:00
response.go Prevent superfluous response.WriteHeader (#15456) 2021-04-14 14:57:18 +02:00
secret.go
xsrf_test.go
xsrf.go