Bugfix: Accept 201 Created responses and follow the 'location' header.
Support the 204 No Content response code as well.
Support the 202 Accepted response code.
Use the requests.session() helper to get a Session() object.

This allows for other modules like trequests to monkey-patch the
requests.session() and requests.sessions.session() function to return
modified HTTPAdapters.
More generic fix for following location references.
Merge pull request #4 from diranged/fix_update_method

Fix update method
Catch JSONDecode errors and ignore them.
Update doc for run_script_on_server
Merge pull request #5 from diranged/fix_reponse_to_202s

Fix reponse to 202s