Skip to content

Commit

Permalink
fix: add compressed check
Browse files Browse the repository at this point in the history
  • Loading branch information
gaofan committed Jun 27, 2018
1 parent f0a6403 commit f740ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion colly.go
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ func (c *Collector) UnmarshalRequest(r []byte) (*Request, error) {
Body: bytes.NewReader(req.Body),
Ctx: ctx,
ID: atomic.AddUint32(&c.requestCount, 1),
Headers: &req.Header,
Headers: &req.Headers,
collector: c,
}, nil
}
Expand Down

0 comments on commit f740ece

Please sign in to comment.