Leer cabecera Retry-After
retry-after-parseInterpreta Retry-After (segundos o fecha HTTP) en segundos de espera y hora absoluta de reintento. Cuándo: un flujo de agente necesita un resultado exacto y repetible para un paso auxiliar (tokens, costos, reintentos, fragmentos, ranking, limpieza de JSON). No para: calcular los tiempos de espera entre reintentos (backoff-schedule). Efectos secundarios: ninguno (solo lectura, sin red, sin estado guardado). Determinista: la misma entrada da la misma salida. Límites: entrada JSON de hasta 64 KB, 1 s por llamada, resultado de hasta 1 MB.
EN: Parses an HTTP Retry-After value (delay seconds or HTTP-date) into seconds to wait and the absolute retry time, relative to a given now instant. When: an agent loop needs an exact, repeatable result for a bookkeeping step (tokens, costs, retries, chunking, ranking, JSON clean-up). Not for: computing retry delays for exponential, linear or constant backoff with a cap and optional jitter (backoff-schedule). [EN completo / full EN: inputSchema.description]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| now | Yes | Current instant ISO 8601 (string; required; up to 40 chars). | |
| value | Yes | Retry-After header value (string; required; up to 100 chars). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| retry_at | No | ||
| wait_seconds | No |