Skip to content

Commit

Permalink
Merge branch 'weiss-return-201' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasLeister committed Jan 12, 2020
2 parents 3bc8446 + 95c3ac8 commit 016ffd9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ func handleRequest(w http.ResponseWriter, r *http.Request) {
}

log.Println("Successfully written", n, "bytes to file", fileStorePath)
w.WriteHeader(http.StatusCreated)
} else {
log.Println("Invalid MAC.")
http.Error(w, "403 Forbidden", 403)
Expand Down

0 comments on commit 016ffd9

Please sign in to comment.