WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #47987, comment 13


Ignore:
Timestamp:
09/27/2019 08:39:09 AM (8 weeks ago)
Author:
talldanwp
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #47987, comment 13

    v1 v2  
    99I'm a little unfamiliar with the media endpoints, but it'd seem to me that if the `create_item()` endpoint tries to handle post-processing on the first attempt, but fails, then it should try again on the second attempt in an idempotent model.
    1010
    11 It could probably also work as separate endpoints, though.
     11It could probably also work as separate endpoints, though. As long as they're initiated separately in the first instance.
    1212
    1313A separate question @azaozz, how would the client handle incomplete requests if it's interrupted (i.e. the user reloads the page after an upload)?