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

Status Code being set to 201 on PUT request #91

Open
noorez opened this issue May 30, 2023 · 1 comment
Open

Status Code being set to 201 on PUT request #91

noorez opened this issue May 30, 2023 · 1 comment

Comments

@noorez
Copy link

noorez commented May 30, 2023

It appears that the status code is being set to 201 here, however, in the ControllerTemplate.Put action, we return an Ok (201) result ... which status code will be used here? The speicification for SCIM indicates it should be a 200 result (unless otherwise stated).

@Sefriol
Copy link

Sefriol commented May 20, 2024

Ok should overwrite StatusCode set by this ConfigureResponse function. I.e. Ok(result) should set it to 200.

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

No branches or pull requests

2 participants