Akito13 пре 5 година
committed by GitHub
родитељ
комит
3c7904cd67
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      server/handlers.go

+ 1
- 1
server/handlers.go Прегледај датотеку

@@ -437,7 +437,7 @@ func (s *Server) putHandler(w http.ResponseWriter, r *http.Request) {

if contentLength == 0 {
log.Print("Empty content-length")
http.Error(w, errors.New("Could not uplpoad empty file").Error(), 400)
http.Error(w, errors.New("Could not upload empty file").Error(), 400)
return
}



Loading…
Откажи
Сачувај