| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:805ebf15-667f-38be-e1f0-d52c9ac6dc86 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D9AC:19688F:2CAC485:407B338:6A551D74 |
| html-safe-nonce | 85e8e7adbe79ce3af22a043bed310d5889b1e40e0126651d3dbc53fb36a6234c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOUFDOjE5Njg4RjoyQ0FDNDg1OjQwN0IzMzg6NkE1NTFENzQiLCJ2aXNpdG9yX2lkIjoiMTg4MTk4ODUzNjk4NDczOTE4OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c375c623822e812836d6844700b244ac46374a7fb257792af6de98cb612618d5 |
| hovercard-subject-tag | pull_request:1125830924 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/PowerShell/PowerShell/pull/18596/files |
| twitter:image | https://avatars.githubusercontent.com/u/105941898?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/105941898?s=400&v=4 |
| og:image:alt | PR Summary
Small cleanup for better readibility |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 682d273eacb2ac51680c6eb9c0b270f029f7ce74c32090f319083c34497e28a5 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b6d37c6470adadff4194742daaab9a817cc4980 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/PowerShell/PowerShell/pull/18596/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F18596%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F18596%2Ffiles |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=PowerShell%2FPowerShell |
| Reload | https://github.com/PowerShell/PowerShell/pull/18596/files |
| Reload | https://github.com/PowerShell/PowerShell/pull/18596/files |
| Reload | https://github.com/PowerShell/PowerShell/pull/18596/files |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/18596/files |
|
PowerShell
| https://github.com/PowerShell |
| PowerShell | https://github.com/PowerShell/PowerShell |
|
Notifications
| https://github.com/login?return_to=%2FPowerShell%2FPowerShell |
|
Fork
8.4k
| https://github.com/login?return_to=%2FPowerShell%2FPowerShell |
|
Star
54.4k
| https://github.com/login?return_to=%2FPowerShell%2FPowerShell |
|
Code
| https://github.com/PowerShell/PowerShell |
|
Issues
1.2k
| https://github.com/PowerShell/PowerShell/issues |
|
Pull requests
288
| https://github.com/PowerShell/PowerShell/pulls |
|
Discussions
| https://github.com/PowerShell/PowerShell/discussions |
|
Actions
| https://github.com/PowerShell/PowerShell/actions |
|
Projects
| https://github.com/PowerShell/PowerShell/projects |
|
Security and quality
3
| https://github.com/PowerShell/PowerShell/security |
|
Insights
| https://github.com/PowerShell/PowerShell/pulse |
|
Code
| https://github.com/PowerShell/PowerShell |
|
Issues
| https://github.com/PowerShell/PowerShell/issues |
|
Pull requests
| https://github.com/PowerShell/PowerShell/pulls |
|
Discussions
| https://github.com/PowerShell/PowerShell/discussions |
|
Actions
| https://github.com/PowerShell/PowerShell/actions |
|
Projects
| https://github.com/PowerShell/PowerShell/projects |
|
Security and quality
| https://github.com/PowerShell/PowerShell/security |
|
Insights
| https://github.com/PowerShell/PowerShell/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2FPowerShell%2FPowerShell%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2FPowerShell%2FPowerShell%2Fissues%2Fnew%2Fchoose |
| iSazonov | https://github.com/iSazonov |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| CarloToso:cleanup-WebRequestPSCmdlet.Common.cs | https://github.com/CarloToso/PowerShell/tree/cleanup-WebRequestPSCmdlet.Common.cs |
|
Conversation
16
| https://github.com/PowerShell/PowerShell/pull/18596 |
|
Commits
20
| https://github.com/PowerShell/PowerShell/pull/18596/commits |
|
Checks
0
| https://github.com/PowerShell/PowerShell/pull/18596/checks |
|
Files changed
| https://github.com/PowerShell/PowerShell/pull/18596/files |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/18596/files |
|
Cleanup webrequestpscmdlet.common.cs
| https://github.com/PowerShell/PowerShell/pull/18596/files#top |
|
Show all changes
20 commits
| https://github.com/PowerShell/PowerShell/pull/18596/files |
|
3754ed4
cleanup string.Format
CarloToso Nov 17, 2022
| https://github.com/PowerShell/PowerShell/pull/18596/commits/3754ed4b900a29d88bb70cbd72faca79f745c3e5 |
|
39730a3
cleanup &&
CarloToso Nov 17, 2022
| https://github.com/PowerShell/PowerShell/pull/18596/commits/39730a306bb2cbb6c0a8b4e41392e00ae0c09c1e |
|
14c6ead
remove empty comments
CarloToso Nov 18, 2022
| https://github.com/PowerShell/PowerShell/pull/18596/commits/14c6ead84525db19e41095704b0dabcc6ce7c833 |
|
6f9d9bf
GetValidationError single line
CarloToso Nov 18, 2022
| https://github.com/PowerShell/PowerShell/pull/18596/commits/6f9d9bfe126460d919286ec84be00647bac92262 |
|
a472912
Remove redundant brackets
CarloToso Nov 18, 2022
| https://github.com/PowerShell/PowerShell/pull/18596/commits/a47291208f5212f1613679da1730215fac917858 |
|
69c71d4
remove more unnecessary parenthesis
CarloToso Nov 18, 2022
| https://github.com/PowerShell/PowerShell/pull/18596/commits/69c71d4fa45a4bb35e0d20dfe39f7bd461a04470 |
|
7702518
{
CarloToso Nov 18, 2022
| https://github.com/PowerShell/PowerShell/pull/18596/commits/77025188238523a4017d27a94960e6a0c4cf7755 |
|
02b6fde
body of if wrapped in curly brackets
CarloToso Nov 18, 2022
| https://github.com/PowerShell/PowerShell/pull/18596/commits/02b6fdebc9aac20d8b0aab9be8ceaf7ecf23d2f9 |
|
14539f1
Merge branch 'master' into cleanup-WebRequestPSCmdlet.Common.cs
CarloToso Dec 1, 2022
| https://github.com/PowerShell/PowerShell/pull/18596/commits/14539f1f046250d26b1f19f46ea0bf8c7d53d638 |
|
a2099f4
cleanup MaximumRedirection; clearer definition of default MaximumRetr…
CarloToso Dec 6, 2022
| https://github.com/PowerShell/PowerShell/pull/18596/commits/a2099f4f4312f7c372139bfa5c855640264220fe |
|
1eadb01
cleanup Method and CustomMethod get-set
CarloToso Dec 6, 2022
| https://github.com/PowerShell/PowerShell/pull/18596/commits/1eadb0164b987bddddfabbcda33cd598b195e73d |
|
846d0ef
replace get { return with =>
CarloToso Dec 6, 2022
| https://github.com/PowerShell/PowerShell/pull/18596/commits/846d0ef87f3de9a7300cabf234a08945e7908a8a |
|
778b5cd
revert =0
CarloToso Dec 13, 2022
| https://github.com/PowerShell/PowerShell/pull/18596/commits/778b5cdd166c325c68512406a681ec5a8a430916 |
|
e803d64
!= -> is not - remove leftover ;
CarloToso Dec 13, 2022
| https://github.com/PowerShell/PowerShell/pull/18596/commits/e803d640f3741415c82b352d1452cadb28ceb052 |
|
829cdef
Merge branch 'master' into cleanup-WebRequestPSCmdlet.Common.cs
CarloToso Dec 15, 2022
| https://github.com/PowerShell/PowerShell/pull/18596/commits/829cdefa6f1c87903b81193ddf34ff50b797ef7b |
|
794edcb
fix double blank line
CarloToso Dec 15, 2022
| https://github.com/PowerShell/PowerShell/pull/18596/commits/794edcbf44d8a8037979d63e0d66023620642cd4 |
|
6011edc
reverted
CarloToso Dec 15, 2022
| https://github.com/PowerShell/PowerShell/pull/18596/commits/6011edcdbf409c56e25b3f3e0080ec7d3a3fc679 |
|
918e515
fixed
CarloToso Dec 15, 2022
| https://github.com/PowerShell/PowerShell/pull/18596/commits/918e51504b62f94f3b01b3b0d57c5083ad892855 |
|
657bc3e
Update src/Microsoft.PowerShell.Commands.Utility/commands/utility/Web…
iSazonov Dec 15, 2022
| https://github.com/PowerShell/PowerShell/pull/18596/commits/657bc3e10c5ebef4689c2929f0a749114731b888 |
|
9aa6615
Update src/Microsoft.PowerShell.Commands.Utility/commands/utility/Web…
iSazonov Dec 15, 2022
| https://github.com/PowerShell/PowerShell/pull/18596/commits/9aa66155a82ce0fd77978a67a69a91a2e5e99958 |
|
Clear filters
| https://github.com/PowerShell/PowerShell/pull/18596/files |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/18596/files |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/18596/files |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/18596/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |