master
parent
28a539e0a8
commit
9e5a0e3f64
2
main.go
2
main.go
|
|
@ -100,7 +100,7 @@ func (fproxy fproxy) proxy(w http.ResponseWriter, r *http.Request) error {
|
|||
if err == io.EOF {
|
||||
err = nil
|
||||
}
|
||||
log.Printf("%s: %+v: %s => %d: %+v: %s", r.Method, r.Header, b, resp.StatusCode, resp.Header, peek.Bytes())
|
||||
log.Printf("%s %s: %+v: %s => %d: %+v: %s", r.Method, r.URL.String(), r.Header, b, resp.StatusCode, resp.Header, peek.Bytes())
|
||||
//_, err = io.Copy(w, resp.Body)
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue