-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Set special header for 503 maintenance mode #33173
Set special header for 503 maintenance mode #33173
Conversation
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.
This will be very good to give a best feedback in integration tests of apps too.
Could implement tests in this PR to validate if this is working fine?
I would love to but this is base.php, the possibly most untestable piece of code :) |
This removes ambiguity with a 503 returned by app code, web server or similar. Front-end and clients can then handle this state accordingly. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
8e90dd1
to
0ed987a
Compare
If this is merged, it would be nice to also have docs :) |
yes, but where? We have docs for OCS but nothing else that would cover related topics 🤷 Edit: opened nextcloud/documentation#9129. maybe I find a place another day |
This removes ambiguity with a 503 returned by Nextcloud maintenance mode, some app's code, web server, proxy or
similar. Front-end and clients can then handle this state accordingly.
This will be helpful for nextcloud/mail#5714.