We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b9daab commit dad7521Copy full SHA for dad7521
services/lfs/server.go
@@ -55,7 +55,7 @@ func CheckAcceptMediaType(ctx *context.Context) {
55
56
if mediaParts[0] != lfs_module.MediaType {
57
log.Info("Calling a LFS method without accepting the correct media type: %s", lfs_module.MediaType)
58
- writeStatus(ctx, http.StatusBadRequest)
+ writeStatus(ctx, http.StatusNotAcceptable)
59
return
60
}
61
0 commit comments