Fix Invoke-RestMethod to support read-only files in multipart form data by yotsuda · Pull Request #26454 · PowerShell/PowerShell
Fixes PowerShell#25482 Changed FileStream to use FileAccess.Read when uploading files via -Form parameter, allowing read-only files to be uploaded successfully.
iSazonov
added
the
CL-General
label
yotsuda
marked this pull request as ready for review
yotsuda
deleted the
fix/invoke-restmethod-readonly-file
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters