FubarDevelopment / restsharp.portable

Some kind of a RestSharp port to PCL
BSD 2-Clause "Simplified" License
96 stars 33 forks source link

Gzip config supported? #59

Closed jchannon closed 8 years ago

jchannon commented 8 years ago

Hi

Restsharp hard codes gzip headers. Does this lib allow configuration of this?

Thanks

fubar-coder commented 8 years ago

You can do the following:

The Accept-Encoding HTTP header gets only updated when you change the encodings. When you've configured your client, you can change the Accept-Encoding header value to whatever you like.

EDIT: Changed Accept to Accept-Encoding

jchannon commented 8 years ago

Just to clarify do you mean Accept-Encoding?

On 2 May 2016 at 08:32, Mark Junker notifications@github.com wrote:

Closed #59 https://github.com/FubarDevelopment/restsharp.portable/issues/59.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/FubarDevelopment/restsharp.portable/issues/59#event-647196466

fubar-coder commented 8 years ago

Yes, you're right. My fault. I meant Accept-Encoding.