Lisandro
Lisandro

Reputation: 311

Which HTTP status code should be returned when page is being edited and therefore not available?

Let's say an URL was public, accessible for all, but right now is being edited and, therefore, is temporary unavailable, but it will be available in the near future.

Which HTTP status code should be returned when page is being edited?

Upvotes: 0

Views: 54

Answers (1)

alphamikevictor
alphamikevictor

Reputation: 647

As told by @JennyD this is as easy as searching just a bit. On Wikipedia you have the list of HTTP error (or status) codes http://en.wikipedia.org/wiki/List_of_HTTP_status_codes

503 seem to be the one you are looking for:

503 Service Unavailable

The server is currently unavailable (because it is overloaded or down for maintenance). Generally, this is a temporary state.

Upvotes: 2

Related Questions