|
|
| |
1. accept-encoding? |
|
Reply |
|
|
 Will Huang | 2013-01-14 07:43:27 |
| Just wondering if this implementation allow custom HTTP headers such as accept-encoding to be sent to the OAuth server? |
| |
2. Re: accept-encoding? |
|
Reply |
|
|
 Manuel Lemos | 2013-01-14 11:44:01 - In reply to message 1 from Will Huang |
| It can, just did not find an OAuth server that requires specific encoding. Are you trying to access a known OAuth server that requires it? If so, what is it? |
| |
3. Re: accept-encoding? |
|
Reply |
|
|
 Will Huang | 2013-01-14 23:53:20 - In reply to message 2 from Manuel Lemos |
| Well in the scoop.it API they prefer you to send with accept-encoding:gzip inflate header |
| |
4. Re: accept-encoding? |
|
Reply |
|
|
 Manuel Lemos | 2013-01-15 04:38:55 - In reply to message 3 from Will Huang |
| Oh, I see. That makes sense if the HTTP client can unpack responses compressed responses. The HTTP class does not yet support compressed responses. When it does, it will send that header automatically. |
|