Status code 503 comes to mind (http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-semantics-25.html#status.503)
Best HTTP status for temporarily unavailable service due to table locking
-
24-09-2022 - |
문제
I have a service which takes a not-insignificant amount of time to complete a request. During this time, I set a status field corresponding to a table being operated on to "locked". If another request is made to this service, but the table is still "locked", I want to return the appropriate HTTP code. What would you suggest?
해결책
제휴하지 않습니다 StackOverflow