Brendan Forster
efbb49fbc4
specify the correct Accept-Encoding headers
2013-10-23 14:43:57 +11:00
Haacked
db2f805bc8
Support requests with HttpContent body
...
If a 3rd party client needs to provide a specific HttpContent, we should
allow that in the adapter. Our clients probably shouldn't do this as it
would break encapsulation.
2013-10-11 14:34:09 -07:00
Haacked
a6a76a5105
Add Timeout and Follow redirects to IRequest
2013-10-10 17:01:16 -07:00
half-ogre
6f3fa81789
move internal stuff to .Internal namespace
2013-10-08 15:14:06 -07:00
Haacked
be7a14539e
Set request content type appropriately
2013-10-06 22:26:23 -07:00
Haacked
fa1473264c
JsonHttpPipeline only deserializes JSON responses
...
The JsonHttpPipeline should only try to deserialize responses that have
a Content-Type of application/json.
2013-10-06 21:32:19 -07:00
Paul Betts
b278e0b2d1
Add the response body to thrown API exceptions, it's Often Handy(tm)
2013-10-04 09:28:01 -07:00
Matt Burke
84b42b7074
Implement PostRawAsync, for asset uploading.
2013-10-03 09:09:26 -07:00
Haacked
372fd25914
Move error handling to Connection
...
The adapter shouldn't be responsible for translating errors
into the proper exception.
2013-09-30 10:45:03 -07:00
Haacked
0a5acdb0cb
Add status code to ApiResponse
...
We weren't setting this before.
2013-09-27 16:37:52 -07:00
Haacked
e07b6d62c2
Add null checks and fix CodeAnalysis errors.
...
I enabled code analysis to the Octokit.Reactive project and
needed to fix things up.
2013-01-29 14:36:24 -08:00
Haacked
997e955f38
Rename to Octokit to be consistent with other API libs
...
GitHub is naming all of the libraries Octokit for their respective
platforms
2013-01-29 14:00:27 -08:00