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 497283f commit e0db2b2Copy full SHA for e0db2b2
services/lfs/server.go
@@ -59,8 +59,8 @@ func CheckAcceptMediaType(ctx *context.Context) {
59
mediaParts := strings.Split(ctx.Req.Header.Get("Accept"), ";")
60
61
if mediaParts[0] != lfs_module.MediaType {
62
- log.Info("Calling a LFS method without accepting the correct media type: %s", lfs_module.MediaType)
63
- writeStatus(ctx, http.StatusNotAcceptable)
+ log.Trace("Calling a LFS method without accepting the correct media type: %s", lfs_module.MediaType)
+ writeStatus(ctx, http.StatusUnsupportedMediaType)
64
return
65
}
66
0 commit comments