Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stateful_browser.py: add a response property #369

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on May 1, 2021

  1. stateful_browser.py: add a response property

    Whenever we set the browser state, include the request response.
    The `response` property will raise an `AttributeError` if the state
    has not yet been set.
    
    This is not strictly necessary, since we return the request response
    in most functions that have one, but it is perhaps a convenience in
    some scenarios.
    
    Closes MechanicalSoup#358.
    hemberger committed May 1, 2021
    Configuration menu
    Copy the full SHA
    587c731 View commit details
    Browse the repository at this point in the history