Skip to content

Implement SEP-1699: Support SSE Polling via Server-Side Disconnect #1547

@felixweinberger

Description

@felixweinberger

This is a tracking issue for implementation of SEP-1699.

Summary

This SEP proposes changes to the Streamable HTTP transport to mitigate issues with long-running connections and improve resumability by allowing servers to disconnect at will after sending an SSE event ID. The Python SDK needs to implement server-side support for immediately sending events with IDs and empty data strings to prime clients for reconnection, enable servers to close connections at any time after sending event IDs, implement retry field support to prevent excessive reconnection attempts, and ensure clients handle disconnections as network failures with proper reconnection logic using Last-Event-ID headers for seamless resumption.

Related Issues & PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequest for a new feature that's not currently supportedpending SEP approvalWhen a PR is attached as an implementation detail to a SEP, we mark it as such for triage.

    Type

    No type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions