diff options
Diffstat (limited to 'cmd/git-lfs-server')
-rw-r--r-- | cmd/git-lfs-server/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/git-lfs-server/main.go b/cmd/git-lfs-server/main.go index 9ba01a2..78a9b0f 100644 --- a/cmd/git-lfs-server/main.go +++ b/cmd/git-lfs-server/main.go | |||
@@ -613,7 +613,7 @@ func (h *handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { | |||
613 | } | 613 | } |
614 | reqlog(ctx, "Repository: %s; OID: %s", repo, oid) | 614 | reqlog(ctx, "Repository: %s; OID: %s", repo, oid) |
615 | 615 | ||
616 | if r.Method != http.MethodPost { | 616 | if r.Method != http.MethodPut { |
617 | makeRespError(ctx, w, "Method not allowed", http.StatusMethodNotAllowed) | 617 | makeRespError(ctx, w, "Method not allowed", http.StatusMethodNotAllowed) |
618 | return | 618 | return |
619 | } | 619 | } |