Ver código fonte

Merge pull request #205 from Akito13/master

Fixed typo
tags/v1.0.0
Andrea Spacca 5 anos atrás
committed by GitHub
pai
commit
c4dbd39527
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 4AEE18F83AFDEB23
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      server/handlers.go

+ 1
- 1
server/handlers.go Ver arquivo

@@ -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
}



Carregando…
Cancelar
Salvar