Closed predavasile88 closed 2 years ago
Tagging subscribers to this area: @dotnet/ncl See info in area-owners.md if you want to be subscribed.
Author: | predavasile88 |
---|---|
Assignees: | - |
Labels: | `area-System.Net.Http`, `untriaged` |
Milestone: | - |
Can you share a standalone repro?
@stephentoub , I just found that the compressed requires a custom middleware to handle the compressed requests (no matter if is v2.2 or v6). My issue was represented by the fact that I was missing the custom middleware in .Net 6. I think this issue can be solved.
Thanks. Closing.
Is there an existing issue for this?
Describe the bug
Recently I worked on migration a web app from .Net Core 2.2 to Net 6. During the testing phases I found an issue with a request that cannot be handled by the web app in .NET 6.
The error is: Unable to translate bytes at index from specified code page to Unicode
The request is created from .Net Framework App and is something like this:
Expected Behavior
IMHO the functionality that works in .Net Core 2.2 should work also in .Net 6. No exception should occur.
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
6.0.401
Anything else?
No response