Call response error back instead of throwing them
Merge pull request #96 from apiaryio/exception-fix

Call response error back instead of throwing them
Added  option to API calls to allow request headers to be sent with HTTP requests. Fixes #80. Fixes #97.
Added docs for github enterprise support (fixes #93)
Merge pull request #99 from johan/ghe-docs

Added docs for github enterprise support (fixes #93)
Implement/ fix conditional requests. Fixes #80. For real.
bump version number.
repo contents api: create a file
http://developer.github.com/v3/repos/contents/#create-a-file
Create, update and delete file API methods added
proper proxy handling
fix port of final url not used if proxy
add default port/protocol for proxy if absent
change default proxy protocol to https
replace simple quotes with double quotes
Merge pull request #102 from nojhamster/master

Proper proxy handling
Be able to prefix path to an API (refs #105)
Allow `Accept` request header

GitHub uses `Accept` to specify different response versions/formats.
See: https://developer.github.com/v3/media/
Merge pull request #112 from freewil/req-header-accept

Allow `Accept` request header
Adding X-GitHub-OTP request header to the whitelist to make it compatible with two-factor auth, close #98

Signed-off-by: Henrique Vicente <henriquevicente@gmail.com>
Add the 'X-GitHub-OTP' header to the docs of the param on the `msg` object

Signed-off-by: Henrique Vicente <henriquevicente@gmail.com>