-
Notifications
You must be signed in to change notification settings - Fork 332
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
Remove GET method support from the application restart control API endpoint #1446
Comments
NAK. This could end up breaking a lot of peoples scripts. We will just need to live with it... |
I'm not familiar with this, what does this mean in this context? |
No 4. |
We will make this change. An effectful GET is a design flaw, and potentially a dangerous one. We'll do what we can to mitigate harm (graceful deprecation cycle, callouts on the blog, appropriate error logs during transition, and personal outreach to known users), but the longer we wait, the more painful this change will be. The restart endpoint, today, can fail with an HTTP 500: Lines 2426 to 2434 in 0e4342f
Sophisticated operators in heavily automated environments should already be prepared to handle and alert on failure. Less automated operators will likely be manually running scripts / sending requests; they'll see appropriate error messages. |
#1445 will have added support for POST requests to restart applications alongside GET requests.
We should remove support for GET requests in Unit version 1.35 as it's semantically incorrect.
The text was updated successfully, but these errors were encountered: