Skip to content

Fix Code Page Parsing Isssue in Invoke-RestMethod#8694

Merged
adityapatwardhan merged 2 commits intoPowerShell:masterfrom
markekraus:feature/8510-Fix-IRM-Encoding
Jan 22, 2019
Merged

Fix Code Page Parsing Isssue in Invoke-RestMethod#8694
adityapatwardhan merged 2 commits intoPowerShell:masterfrom
markekraus:feature/8510-Fix-IRM-Encoding

Conversation

@markekraus
Copy link
Contributor

PR Summary

Fixes #8510

Our verbose message for testing Encoding results in a NotSupportedException on some encoding types. This PR introduces a workaround for when the exception is throw accessing encoding.headerName

PR Context

#8510

PR Checklist

@iSazonov
Copy link
Collaborator

iSazonov commented Jan 19, 2019

Can we add test to exclude a regression?

@iSazonov iSazonov added the CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log label Jan 19, 2019
@markekraus markekraus force-pushed the feature/8510-Fix-IRM-Encoding branch from 5ed5e7e to ec75e7d Compare January 19, 2019 15:00
@markekraus
Copy link
Contributor Author

@iSazonov tests added.

@iSazonov
Copy link
Collaborator

@adityapatwardhan Could you please merge the PR?

@adityapatwardhan adityapatwardhan merged commit 2dd549e into PowerShell:master Jan 22, 2019
@adityapatwardhan
Copy link
Member

@markekraus Thank you for your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants