Socram
Socram

Reputation: 165

How to ask for compressed results in a web service request (Windows Phone application)

I have a windows phone app that is consuming some web services through proxies generated with the SLsvcUtil tool.

Is there any way to make a compressed request (with gzip or any other compression method) to the web services, and ask for a compressed result (something like setting the Accept-Encoding header in the http request).

Upvotes: 0

Views: 304

Answers (1)

invalidusername
invalidusername

Reputation: 913

See this post by MVP and WP7 programmer 'sharpgis'. http://www.sharpgis.net/post/2011/08/28/GZIP-Compressed-Web-Requests-in-WP7-Take-2.aspx

Hope that helps.

Upvotes: 1

Related Questions