What is the most appropriate HTTP status code to let the client mean that "your request is ok but it is still ongoing, quickly return to the same place."
For example, let's say a client sends an initial request to start a heavy request, and the server immediately returns a URL that the client can periodically query for the result. If the client calls this URL before the job is completed, what is the most appropriate HTTP status code to return?
Accepted would be my first impulse. Is this the best, or is there a better one that is more idiomatic for this purpose in REST interfaces?
source share