we
This commit is contained in:
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 {
|
if err == io.EOF {
|
||||||
err = nil
|
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)
|
//_, err = io.Copy(w, resp.Body)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user