urllib2.Request() with data returns empty url
- by Mr. Polywhirl
My main concern is the function: getUrlAndHtml()
If I manually build and append the query to the end of the uri, I can get the response.url(), but if I pass a dictionary as the request data, the url does not come back. Is there anyway to guarantee the redirected url?
In my example below, if thisWorks = True I get back a url, but the returned url…