Update readme with installation instructions.
test that error responses e.g with http status_code 400 are supported
only use _real_session_send if url is not intercepted
Merge pull request #6 from modilabs/master

Allow Falsey http responses to be mocked
Merge pull request #4 from Celc/master

Update readme with installation instructions.
Merge branch 'master' of github.com:gmr/httmock into gmr-master

Conflicts:
	README.md
	httmock.py
Bump version
Make decorators work with instance methods

This commit modifies the all_requests and urlmatch decorators so that their
targets can be either functions or methods.
Merge pull request #7 from AusIV/master

Make decorators work with instance methods
1.0.5
Support Python 3 JSON serialization of a dict passed into httmock.response

If relying on the response content auto-serialization of dict to JSON, Python 3 evaluations of the response content fail with a type error due to how requests.utils.guess_json_utf() attempts to figure out if the content is UTF-8 or not.

This commit adds:

1. A fix for the issue, checking to see if the Python version is 3 and casting the JSON serialized string to a bytes object
2. Fix for the ResponseTest.test_response_auto_json test, ensuring that the right evaluation is performed for Python 2 vs Python 3
3. a unit test for the specific Python 3 error encountered in the requests library due to how JSON serialization was handled.