{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/3248","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/3248/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/3248/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/3248/events","html_url":"https://github.com/dotnet/corefx/issues/3248","id":106516558,"number":3248,"title":"Setting HttpWebRequest.AutomaticDecompression","user":{"login":"acastaner","id":2143819,"avatar_url":"https://avatars.githubusercontent.com/u/2143819?v=3","gravatar_id":"","url":"https://api.github.com/users/acastaner","html_url":"https://github.com/acastaner","followers_url":"https://api.github.com/users/acastaner/followers","following_url":"https://api.github.com/users/acastaner/following{/other_user}","gists_url":"https://api.github.com/users/acastaner/gists{/gist_id}","starred_url":"https://api.github.com/users/acastaner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acastaner/subscriptions","organizations_url":"https://api.github.com/users/acastaner/orgs","repos_url":"https://api.github.com/users/acastaner/repos","events_url":"https://api.github.com/users/acastaner/events{/privacy}","received_events_url":"https://api.github.com/users/acastaner/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/corefx/labels/System.Net","name":"System.Net","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-15T09:17:11Z","updated_at":"2015-09-15T14:34:55Z","closed_at":null,"body":"When I look at the source of HttpWebRequest I see that the AutomaticDecompression property of the HttpClientHandler is forced to `DecompressionMethods.None` ([line 373](https://github.com/dotnet/corefx/blob/07f8c0fe64ac44bedced873181d6832bc2afcc50/src/System.Net.Requests/src/System/Net/HttpWebRequest.cs)).\r\n\r\nHow do I set it properly? In the past we could simply do this:\r\n\r\n`request.AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate;`"},"comment":{"url":"https://api.github.com/repos/dotnet/corefx/issues/comments/140413269","html_url":"https://github.com/dotnet/corefx/issues/3248#issuecomment-140413269","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/3248","id":140413269,"user":{"login":"acastaner","id":2143819,"avatar_url":"https://avatars.githubusercontent.com/u/2143819?v=3","gravatar_id":"","url":"https://api.github.com/users/acastaner","html_url":"https://github.com/acastaner","followers_url":"https://api.github.com/users/acastaner/followers","following_url":"https://api.github.com/users/acastaner/following{/other_user}","gists_url":"https://api.github.com/users/acastaner/gists{/gist_id}","starred_url":"https://api.github.com/users/acastaner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acastaner/subscriptions","organizations_url":"https://api.github.com/users/acastaner/orgs","repos_url":"https://api.github.com/users/acastaner/repos","events_url":"https://api.github.com/users/acastaner/events{/privacy}","received_events_url":"https://api.github.com/users/acastaner/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T14:34:55Z","updated_at":"2015-09-15T14:34:55Z","body":"Thanks a lot for the clarification! Please close this issue as you see fit."}}