title: Posting gzipped JSON content with RestSharp
body: <p>The title says it all: I'm trying to post gzipped JSON content to an IIS server using RestSharp. </p>
  
  <p>I've searched and searched, but all I come up with are results that talk about handling a gzipped response:
  <a href="https://stackoverflow.com/questions/10914672/restsharp-compress-request-while-making-rest-call-to-server">RestSharp compress request while making rest call to server</a></p>
  
  <p>...or pages that simply claim that RestSharp supports gzip:
  <a href="http://www.bevanblackie.com/2012/03/restsharp-supports-gzip.html" rel="nofollow noreferrer">http://www.bevanblackie.com/2012/03/restsharp-supports-gzip.html</a></p>
  
  <p>It was really easy to compress responses from IIS by simply changing the IIS configuration. But I can't figure out how to post compressed content to the IIS web server. Ideally, RestSharp would handle this automatically and see if the server supports gzip compression and if not, send an uncompressed POST.</p>