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

Add WithHost Option #1070

Merged
merged 1 commit into from
Jul 4, 2024
Merged

Conversation

jaxtonw
Copy link
Contributor

@jaxtonw jaxtonw commented Jul 2, 2024

Implements suggested solution #2 from Issue #1069.

Adds a new WithHost option for HTTP Protocols to enable the ability to set the HTTP Host header manually.

@jaxtonw jaxtonw requested a review from a team as a code owner July 2, 2024 03:11
@jaxtonw jaxtonw force-pushed the 1069-set-host-header branch 2 times, most recently from 1517c03 to 39444c5 Compare July 2, 2024 03:28
Signed-off-by: Jaxton Winder <jaxton.winder@gmail.com>

Improve error message for nil protocol

Signed-off-by: Jaxton Winder <jaxton.winder@gmail.com>

Add unit test for WithHost

Signed-off-by: Jaxton Winder <jaxton.winder@gmail.com>
@embano1 embano1 merged commit 8efefb0 into cloudevents:main Jul 4, 2024
9 checks passed
@embano1
Copy link
Member

embano1 commented Jul 4, 2024

Thank you!

@jaxtonw
Copy link
Contributor Author

jaxtonw commented Jul 7, 2024

@embano1 happy to help! Roughly when can we expect the next release that this change will be included in?

@embano1
Copy link
Member

embano1 commented Jul 8, 2024

@embano1 happy to help! Roughly when can we expect the next release that this change will be included in?

We definitely need to cut a new release with all the recent changes. There's another PR for PubSub which I want to get in as well (need to review) but I'm currently on vacation.

cc/ @duglin

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.

2 participants