Skip to content

Support Prefer: respond-async,wait=1 for TM1 v12 #1331

@MariusWirtz

Description

@MariusWirtz

TM1 v12 introduces an enhanced async request mode via the HTTP header:

Prefer: respond-async,wait=1

With this mode, the server returns a normal synchronous response if the operation completes within the specified wait time. Only if the operation exceeds the wait time does it revert to the standard asynchronous behavior and return an asynchronous ID.

Benefits

This can drastically improve overall performance in scenarios with many small requests that typically complete very quickly. Instead of incurring async polling overhead for each call, most requests would complete synchronously while still preserving async behavior for longer-running operations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    release:patchTriggers patch version bump (e.g.: 1.4.9 → 1.4.10)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions