Title: Web cmdlets: support compression · Issue #3178 · PowerShell/PowerShell · GitHub
Open Graph Title: Web cmdlets: support compression · Issue #3178 · PowerShell/PowerShell
X Title: Web cmdlets: support compression · Issue #3178 · PowerShell/PowerShell
Description: I have noticed that there currently appears to be no support for requesting a compressed response (gzip/deflate) with the Invoke-[RestMethod|WebRequest] cmdlets. It would be useful to have support for this (curl implements this via the -...
Open Graph Description: I have noticed that there currently appears to be no support for requesting a compressed response (gzip/deflate) with the Invoke-[RestMethod|WebRequest] cmdlets. It would be useful to have support ...
X Description: I have noticed that there currently appears to be no support for requesting a compressed response (gzip/deflate) with the Invoke-[RestMethod|WebRequest] cmdlets. It would be useful to have support ...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/3178
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Web cmdlets: support compression","articleBody":"I have noticed that there currently appears to be no support for requesting a compressed response (gzip/deflate) with the Invoke-[RestMethod|WebRequest] cmdlets. It would be useful to have support for this (curl implements this via the --compressed flag).\r\n\r\nConditional support can be added via the AutomaticDecompression property of the WebRequest class for FullCLR, and using a new HttpClientHandler with HttpClient for CoreCLR. Support would be added with a new cmdlet parameter (suggest -Compressed ?)\r\n\r\nI'm happy to put a pull request in for this - however just making sure this functionality is desirable before adding.","author":{"url":"https://github.com/0x4c6565","@type":"Person","name":"0x4c6565"},"datePublished":"2017-02-21T21:22:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":25},"url":"https://github.com/3178/PowerShell/issues/3178"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0d73a67a-bc33-b240-8973-fff26faeeb61 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A5A0:2E1701:126B9B4:1AA44A8:6A54BF14 |
| html-safe-nonce | c91da467a349fbb0d306df2677cc7c1907e20490bed7b4b0b7a93b2d01d8bb8b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNUEwOjJFMTcwMToxMjZCOUI0OjFBQTQ0QTg6NkE1NEJGMTQiLCJ2aXNpdG9yX2lkIjoiNDcxNDIxMDE0NTE1MjA1NzEwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8244a8fa91001c009896f9e5fb3607de441426e2df00a3ab1c4886e2a55368ee |
| hovercard-subject-tag | issue:209276545 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/3178/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e005c2919335ef14aa9de68f97b27eb2dab89a7c400c576087e6b9e7003d7d7e/PowerShell/PowerShell/issues/3178 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e005c2919335ef14aa9de68f97b27eb2dab89a7c400c576087e6b9e7003d7d7e/PowerShell/PowerShell/issues/3178 |
| og:image:alt | I have noticed that there currently appears to be no support for requesting a compressed response (gzip/deflate) with the Invoke-[RestMethod|WebRequest] cmdlets. It would be useful to have support ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | 0x4c6565 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 69f9664dd5e7a82ba8ab1b4cb7f5a2f09333ab38 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width