-
Notifications
You must be signed in to change notification settings - Fork 10.5k
IIS: Identify if a request has a body #25381
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
src/Servers/IIS/IIS/test/Common.FunctionalTests/Inprocess/Http2Tests.cs
Outdated
Show resolved
Hide resolved
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
| namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests.InProcess | ||
| { | ||
| [Collection(PublishedSitesCollection.Name)] | ||
| public class Http2Tests : IISFunctionalTestBase |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are there any HTTP/1.x tests for RequestCanHaveBody?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added a few
|
I'm struggling with the IIS test failures. It only fails in IIS, not express, and only on the CI. It seems to get back a 200 response with no body when we're expecting a body to be echo'd. I'm going to try updating the CI agents. I know we're using obsolete versions of Win10. #25627 |
|
@Pilchie please merge for rc2. |
|
Approved for .NET 5 RC2. |
Fixes #24175. This is the IIS portion of the feature. IIS is easy because Http.Sys adds a fake Transfer-Encoding: chunked header even for HTTP/2 requests.