What needs to happen?
Some HTTP-based Web API servers will respond with a Retry-After header. To allow developer Caller implementations to signal this information back to Call's DoFn, add a @Nullable Duration retryAfter field to UserCodeQuotaException. It would be the responsibility of a developer Caller implementation to populate this field. Not all HTTP-based Web API servers will provide this header and not all Web APIs are HTTP-based.
See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After for more details.
What needs to happen?
Some HTTP-based Web API servers will respond with a
Retry-Afterheader. To allow developer Caller implementations to signal this information back to Call's DoFn, add a@Nullable DurationretryAfter field toUserCodeQuotaException. It would be the responsibility of a developer Caller implementation to populate this field. Not all HTTP-based Web API servers will provide this header and not all Web APIs are HTTP-based.See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After for more details.