gitea/modules/httplib
wxiaoguang 84cbb6c4d2
Fix duplicate sub-path for avatars ()
Fix , and add tests

And this PR introduces an undocumented & debug-purpose-only config
option: `USE_SUB_URL_PATH`. It does nothing for end users, it only helps
the development of sub-path related problems.

And also fix 

Co-authored-by: @ExplodingDragon
..
request.go Replace `interface{}` with `any` ()
serve.go Skip gzip for some well-known compressed file types ()
serve_test.go Less naked returns ()
url.go Fix duplicate sub-path for avatars ()
url_test.go Fix duplicate sub-path for avatars ()