HTTP response code for "Wait a bit"

What is the best HTTP response code for the server being sent if it wants the client to wait a little while, then try again?

Now I am using:

409 Conflict

But this is not entirely correct ...

+5
source share
3 answers

Depending on why you want them to wait, the status codes will be different. Codes starting with 4 indicate client errors. If the request was executed correctly, I would not use the 400 code. Statuses starting with 5 refer to server errors. If you ask the HTTP requestor to wait due to problems on your side, I would go with 503.

, -, , . . 200, , . , 2 (). , , "202 Accepted" HTTP

, .

+12
+9

, , ( Alexei ).

  • 429

    429 , ( " " ).

    , Retry-After, , .

  • 420 , , Twitter, , .

    API- 1, .

+6

All Articles