Explorar el Código

revert println

Signed-off-by: Adam Crowder <adam@adamcrowder.net>
tags/v1.2.0
Adam Crowder hace 4 años
padre
commit
d830bf1afc
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: CA63AD7FC16C6CC0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      server/handlers.go

+ 1
- 1
server/handlers.go Ver fichero

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

w.Header().Set("X-Url-Delete", resolveURL(r, deleteURL, s.proxyPort))

fmt.Fprintln(w, resolveURL(r, relativeURL, s.proxyPort))
fmt.Fprint(w, resolveURL(r, relativeURL, s.proxyPort))
}

func resolveURL(r *http.Request, u *url.URL, proxyPort string) string {


Cargando…
Cancelar
Guardar