(req *http.Request)
| 331 | } |
| 332 | |
| 333 | func getReqOperation(req *http.Request) string { |
| 334 | operation := "download" |
| 335 | if req.Method == "POST" || req.Method == "PUT" { |
| 336 | operation = "upload" |
| 337 | } |
| 338 | return operation |
| 339 | } |
| 340 | |
| 341 | var ( |
| 342 | authenticateHeaders = []string{"Lfs-Authenticate", "Www-Authenticate"} |
no outgoing calls
no test coverage detected