Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stream ID, authorization header updates #238

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

appsdesh
Copy link
Contributor

@appsdesh appsdesh commented Mar 1, 2025

Closes #229 and #223

@appsdesh appsdesh requested a review from a team as a code owner March 1, 2025 01:53
by the Receiver.
> If the endpoint_url requires authorization, the receiver is required to provide
this authorization header in the stream creation/updation. If present, the
Transmitter MUST set with each event delivery.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Transmitter MUST set with each event delivery.
Transmitter MUST use the authorization header with each event delivery.

> The HTTP Authorization header that the Transmitter MUST set with each event
delivery, if the configuration is present. The value is optional and it is set
by the Receiver.
> If the endpoint_url requires authorization, the receiver is required to provide
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
> If the endpoint_url requires authorization, the receiver is required to provide
> If the endpoint_url requires authorization, the receiver SHOULD provide

@@ -853,7 +854,8 @@ stream_id

> **Transmitter-Supplied**, REQUIRED. A string that uniquely identifies the stream. A
Transmitter MUST generate a unique ID for each of its non-deleted streams
at the time of stream creation.
at the time of stream creation. Transmitters are recommended to use character set
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
at the time of stream creation. Transmitters are recommended to use character set
at the time of stream creation. Transmitters SHOULD use character set

@@ -853,7 +854,8 @@ stream_id

> **Transmitter-Supplied**, REQUIRED. A string that uniquely identifies the stream. A
Transmitter MUST generate a unique ID for each of its non-deleted streams
at the time of stream creation.
at the time of stream creation. Transmitters are recommended to use character set
described in Section 2.3 of {{rfc3986}}}} to generate the stream ID.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
described in Section 2.3 of {{rfc3986}}}} to generate the stream ID.
described in Section 2.3 of {{RFC3986}}}} to generate the stream ID.

I don't know if capitalizing this matters, but it seems like the others are capitalized.

@FragLegs
Copy link
Contributor

FragLegs commented Mar 2, 2025

Note: this does not fully close #223. Some of that issue still needs to be addressed in PR #233

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.

Restrict stream_id Character Set for URL Parameter Compatibility
3 participants