forgejo/routers
Gusted 6ed9057fd7
[GITEA] Fix API inconsistencies
- Document the correct content types for Git archives. Add code that
actually sets the correct application type for `.zip` and `.tar.gz`.
- When an action (POST/PUT/DELETE method) was successful, an 204 status
code should be returned instead of status code 200.
- Add and adjust integration testing.
- Resolves #2180
- Resolves #2181

(cherry picked from commit 6c8c4512b5)
(cherry picked from commit 3f74bcb14d)
2024-01-28 11:05:33 +01:00
..
api [GITEA] Fix API inconsistencies 2024-01-28 11:05:33 +01:00
common Rework markup link rendering (#26745) 2024-01-15 08:49:24 +00:00
install [GITEA] Add password length check on install page 2024-01-28 09:22:15 +01:00
private [CLI] implement forgejo-cli 2024-01-28 07:47:32 +01:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web [GITEA] Fix panic in canSoftDeleteContentHistory 2024-01-28 10:58:28 +01:00
init.go [API] Forgejo API /api/forgejo/v1 2024-01-28 08:13:13 +01:00