Response header support added for Chrome Rendering

This commit is contained in:
Musab Gültekin
2019-06-18 16:26:40 +03:00
parent 217f3c96df
commit ec83a92eb3
4 changed files with 12 additions and 4 deletions

View File

@ -301,6 +301,7 @@ func (g *Geziyor) doRequestChrome(req *Request) (*Response, error) {
Response: &http.Response{
Request: req.Request,
StatusCode: int(res.Status),
Header: internal.ConvertMapToHeader(res.Headers),
},
Body: []byte(body),
Meta: req.Meta,