cobrateam/splinter — Issue #137: Allow reading the status code
Author: juhamust
Created: 2012-03-06 06:53:05+00:00
State: open

How to read status code? According to documentation only options are to check if response was successful or compare it with a value. When trying to print out the status code, only object representation is shown. Consider following:

```python
>>> browser.visit('/foobar')
>>> browser.status_code.status_code.is_success()
True
>>> browser.status_code == 200
False
>>> print browser.status_code

```

Change request: print out the human readable response instead.