Should we use 204 no_content or 202 accepted with reactive caching

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

When Reactive Caching is used for an API, the API response is calculated by a sidekiq process. Rather than keep the original request open and waiting, we send back a response and expect the client to keep sending the request (poll) until it gets the data (or no data).

What response should be sent to the client when the calculation is not complete? Should it be:

  1. 204 No Content
  2. 202 Accepted
  3. Something else?
Edited Sep 26, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading