Commit graph

2 commits

Author SHA1 Message Date
wxiaoguang
023a048f52
Make repository response support HTTP range request ()
Replace 
Replace 

Close 
2023-05-09 15:34:36 +08:00
wxiaoguang
cb700aedd1
Split "modules/context.go" to separate files ()
The "modules/context.go" is too large to maintain.

This PR splits it to separate files, eg: context_request.go,
context_response.go, context_serve.go

This PR will help:

1. The future refactoring for Gitea's web context (eg: simplify the context)
2. Introduce proper "range request" support
3. Introduce context function

This PR only moves code, doesn't change any logic.
2023-05-08 17:36:54 +08:00