Skip to content

Add typed X-Download-Options response metadata - #959

Open
fewensa wants to merge 1 commit into
mainfrom
codeon/fewensa/FWN-343/a1-5f28e98713f542dea898f7f390ac6aca
Open

Add typed X-Download-Options response metadata#959
fewensa wants to merge 1 commit into
mainfrom
codeon/fewensa/FWN-343/a1-5f28e98713f542dea898f7f390ac6aca

Conversation

@fewensa

@fewensa fewensa commented Sep 13, 2026

Copy link
Copy Markdown
Owner

Add bounded singleton X-Download-Options response metadata for RTTP.

Parse the noopen directive case-insensitively, trim optional whitespace, reject empty, duplicate, unknown, oversized, and control-byte values, and emit canonical noopen. Expose client and server accessors plus facade re-exports, preserve raw headers, and keep download handling policy unchanged.

Cover valid, malformed, duplicate, empty, unknown, oversized, control-byte, raw-preservation, and roundtrip cases in protocol, client, server, and facade tests, and document the metadata-only parser beside the other X-* singleton headers.

codeon:
  version: 1
  authority: FWN-343
  description: |-
    Add a bounded singleton parser for X-Download-Options so RTTP can expose noopen as typed response metadata without changing download handling policy.
    
    Parse the field case-insensitively, trim optional whitespace, reject empty, duplicate, unknown, oversized, and control-byte values, and emit canonical noopen. Wire client and server accessors plus facade re-exports, preserve raw headers, and cover valid, malformed, and roundtrip cases in protocol, client, server, and facade tests.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant