Actions
Refactor #17483
closedAsync HTTP API calls should return code 202 Accepted instead of 201 Created
Description
In #15779 several API calls were changed to async processing. In the HTTP protocol there is a special return code to indicate this. Return a 202 provides clients with a way to know if their call completed or is queued. Bonus points if the result includes an URL where the client can check if the task has completed.
Updated by Ewoud Kohl van Wijngaarden about 8 years ago
- Related to Feature #15779: Make report, puppet classes and environments importing asynchronous using foreman-tasks added
Updated by Marek Hulán about 8 years ago
- Assignee set to Marek Hulán
- Target version set to 1.4.4
Updated by The Foreman Bot about 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/4051 added
Updated by Anonymous about 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 0cf8ea6780c24954ccbe2cc33ca02e1f6010ffed.
Updated by Marek Hulán about 8 years ago
- Translation missing: en.field_release set to 189
Updated by Dominic Cleal about 8 years ago
- Translation missing: en.field_release changed from 189 to 209
Actions