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

DM-38279: Return 201 from lab create route #48

Merged
merged 1 commit into from
Mar 28, 2023
Merged

DM-38279: Return 201 from lab create route #48

merged 1 commit into from
Mar 28, 2023

Conversation

rra
Copy link
Member

@rra rra commented Mar 28, 2023

The URL to which we redirected the lab creation response is protected by different authentication rules and would require a different token. This probably indicates a deeper problem that we should rethink, but since the REST spawner doesn't want to follow the redirect anyway, return 201 with an empty body and a Location header instead.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
The URL to which we redirected the lab creation response is
protected by different authentication rules and would require a
different token. This probably indicates a deeper problem that we
should rethink, but since the REST spawner doesn't want to follow
the redirect anyway, return 201 with an empty body and a Location
header instead.
@rra rra requested a review from athornton March 28, 2023 22:05
Copy link
Member

@athornton athornton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rra rra merged commit 53e9c3f into main Mar 28, 2023
@rra rra deleted the tickets/DM-38279 branch March 28, 2023 23:28
rra added a commit that referenced this pull request Nov 3, 2023
…ns/checkout-4

Bump actions/checkout from 3 to 4
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

Successfully merging this pull request may close these issues.

None yet

2 participants