Checks __attrs__ on session instance prior to iterating.
Add ability to pass `response` to `HTTPError()`

Just a little refactoring, but it seems nicer to me to be able to pass
the response when constructing the `HTTPError` instance instead of
constructing it and then changing the member variable.
Revert "[kennethreitz/requests#1208] adding a max_retries argument"

This reverts commit 796d3225ddf08a9ebaa429209b9d077c3a8f99b8.
Revert "[kennethreitz/requests#1208] adding unit test for max_retries"

This reverts commit 18b29ea00563a0bf8e15666806117444c87ac23f.
Adds __attrs__ back to Session object
Merge pull request #1223 from andrewjesaitis/master

Fixes __getstate__ for session pickling
Merge branch 'httperror_init' of git://github.com/dmedvinsky/requests

Conflicts:
	AUTHORS.rst
	test_requests.py
Merge remote-tracking branch 'origin/master'
Fix issue #1225 (Documentation: response object status/reason)
Merge pull request #1234 from Vassius/issue-1225

Fix issue #1225 (Documentation: response object status/reason)
cleanup (remove max_retries test)
Merge pull request #1238 from oczkers/master

cleanup (remove max_retries test)
Digest auth: case insensitive replacement of 'digest ' string with '' from WWW-Authenticate
Pickling of Session and HTTPAdapter + a test

This is for issue #1088
Merge pull request #1243 from darjus-amzn/master

Pickling of Session and HTTPAdapter + a test
Fixed some pickeling issues with HTTPAdapter and Session

Added trust_env and stream to Session.__attrs__. Initialize
self._pool_connections and self._pool_maxsize in HTTPAdapter.
Merge pull request #1244 from jajadinimueter/master

Fixed further pickeling issues in Session and HTTPAdapter
Add failing test case for #1228
Use session cookies when following redirects

When a redirect was followed, only the cookies set by the initial
response were used in the follow-up request. Fixes #1228.
Do not pass cookies to resolve_redirects

SessionRedirectMixin is extending Session, so we can just use
self.cookies.