title: WCF REST Compression
body: <p>I have a REST service that returns a large chunk of XML, about 150k worth.  </p>
  
  <p>e.g.  <a href="http://xmlservice.com/services/RestService.svc/GetLargeXML" rel="noreferrer">http://xmlservice.com/services/RestService.svc/GetLargeXML</a></p>
  
  <p>Therefore I want to compress the response from the server, as GZIP should reduce this to something much smaller.  Having searched everywhere I cannot for the life of me find an example of how to perform compression for WCF REST services.  Help!!</p>
  
  <p>NOTE:  My service is hosted by a third party and I CANNOT do this via IIS as it is not supported by them.</p>