These are chat archives for elazarl/goproxy

10th
Sep 2016
ZiYuan
@Bpazy
Sep 10 2016 08:52
Hi, I have a problem:
func handler(r *http.Request, ctx *goproxy.ProxyCtx) (*http.Request, *http.Response) {
    temp := make([]byte, 1024)
    r.Body.Read(temp) // How to seek to start?
    return r, nil
}