Closed mascon closed 11 years ago
Fortunately for us RestSharp already includes this header by default. :)
Perfect. I thought it was new as I did not notice it on the Box site before. Silly me :-)
It could be new -- I don't know that I've seen it before either. The RestSharp library that handles the HTTP side of things always has this enabled, so we just got lucky on this one!
Box API can now send responses compressed for faster load times.
Here is the text from the developer pages. The info is found in the general area near the CORS info.
gzip If you would like responses from Box to be compressed for faster response times, simply include an Accept-Encoding header with a value of gzip, deflate, and responses will be gzipped.