mirror of
https://github.com/go-gitea/gitea.git
synced 2025-10-27 07:30:15 +00:00
When archival was made async, the GET endpoint was only useful if a previous POST had initiated the download. This commit restores the previous behavior, to an extent; we'll now submit the archive request there and return a "202 Accepted" to indicate that it's processing if we didn't manage to complete the request within ~2 seconds of submission. This lets a client directly GET the archive, and gives them some indication that they may attempt to GET it again at a later time. |
||
|---|---|---|
| .. | ||
| admin | ||
| api/v1 | ||
| dev | ||
| org | ||
| private | ||
| repo | ||
| routes | ||
| user | ||
| utils | ||
| home.go | ||
| init.go | ||
| install.go | ||
| metrics.go | ||
| swagger_json.go | ||