1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-11 18:24:27 +00:00
Chongyi Zheng 9631958a82
Refactor lfs requests (#26783)
- Refactor lfs request code
- The original code uses `performRequest` function to create the
request, uses a callback to modify the request, and then send the
request.
- Now it's replaced with `createRequest` that only creates request and
`performRequest` that only sends the request.
- Reuse `createRequest` and `performRequest` in `http_client.go` and
`transferadapter.go`

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-09-18 08:40:50 +00:00
..
2023-04-17 11:37:23 +08:00
2023-07-07 05:31:56 +00:00
2023-07-07 05:31:56 +00:00
2023-09-18 08:40:50 +00:00
2023-07-07 05:31:56 +00:00
2023-02-11 08:39:50 +08:00
2022-12-30 23:31:00 +08:00
2023-09-18 08:40:50 +00:00
2023-08-20 22:59:19 +00:00