Skip to content
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

UseStatusCodePagesWithReExecute won't change original http method #34302

Open
JandosHk opened this issue Dec 5, 2024 · 0 comments
Open

UseStatusCodePagesWithReExecute won't change original http method #34302

JandosHk opened this issue Dec 5, 2024 · 0 comments

Comments

@JandosHk
Copy link

JandosHk commented Dec 5, 2024

Description

If original page returns error status code from POST method handler, then StatusCode endpoint should also have OnPost method.
In the example only OnGet is shown.

Page URL

https://learn.microsoft.com/en-au/aspnet/core/fundamentals/error-handling?view=aspnetcore-9.0

Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/fundamentals/error-handling.md

Document ID

38515dfb-91a5-b395-db9d-084bbaf095c8

Article author

@tdykstra

Related Issues

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

No branches or pull requests

1 participant