Akito13 5 лет назад
committed by GitHub
Родитель
Сommit
3c7904cd67
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: 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
}



Загрузка…
Отмена
Сохранить