Open shaohongwu opened 2 years ago
environment: go : go1.17.2 system: Windows 11 colly : v2.1.0
Questions : In colly.Collector.OnResponse, I tried to serialize colly.Response.Request, but Request.Body failed and returned a null value. https://github.com/gocolly/colly/blob/2f09941613011bfde62cbe4a695310b42bf42d41/request.go#L171 I debugged and found that this r.Body is *bytes.Reader has been read and cannot be read again
nobody?
environment: go : go1.17.2
system: Windows 11 colly : v2.1.0
Questions : In colly.Collector.OnResponse, I tried to serialize colly.Response.Request, but Request.Body failed and returned a null value. https://github.com/gocolly/colly/blob/2f09941613011bfde62cbe4a695310b42bf42d41/request.go#L171 I debugged and found that this r.Body is *bytes.Reader has been read and cannot be read again