grequests icon indicating copy to clipboard operation
grequests copied to clipboard

response url convienience function

Open dmvinson opened this issue 8 years ago • 0 comments

Hi, could you add a URL function to the Response struct, struggled with figuring out how to access final URL after series of redirect at first.

func (r *Response) URL() string { return r.RawResponse.URL.String() }

This would provide a much more obvious and simple way of accessing that final URL.

dmvinson avatar Mar 28 '17 06:03 dmvinson