Overview

Request 766041 accepted

- update to 5.5.1
* Stop sending a Referer header when browser.open or browser.post is called directly.
* Add error checking to the setters for ListControl.displayValue and CheckboxListControl.displayValue:
in line with the old mechanize-based implementation, these will now raise ItemNotFoundError
if any of the given values are not found, or ItemCountError on trying to set more than one value
on a single-valued control.
* Fix AttributeError in add_file when trying to add to a control which is not a file upload.
* Fix a bug where browser.goBack() did not invalidate caches, so subsequent queries could use data
from the wrong response.
* Support telling the browser not to follow redirects by setting Browser.follow_redirects to False.

Request History
Markéta Machová's avatar

mcalabkova created request

- update to 5.5.1
* Stop sending a Referer header when browser.open or browser.post is called directly.
* Add error checking to the setters for ListControl.displayValue and CheckboxListControl.displayValue:
in line with the old mechanize-based implementation, these will now raise ItemNotFoundError
if any of the given values are not found, or ItemCountError on trying to set more than one value
on a single-valued control.
* Fix AttributeError in add_file when trying to add to a control which is not a file upload.
* Fix a bug where browser.goBack() did not invalidate caches, so subsequent queries could use data
from the wrong response.
* Support telling the browser not to follow redirects by setting Browser.follow_redirects to False.


Tomáš Chvátal's avatar

scarabeus_iv accepted request

openSUSE Build Service is sponsored by