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

SSE Default Method #330

Open
egekorkan opened this issue Dec 1, 2023 · 0 comments
Open

SSE Default Method #330

egekorkan opened this issue Dec 1, 2023 · 0 comments
Labels
http related to http protocol binding

Comments

@egekorkan
Copy link
Contributor

In the HTTP Binding, we show that SSE happens via POST at https://w3c.github.io/wot-binding-templates/bindings/protocols/http/index.html#observe-property-http-binding-with-server-sent-event-subprotocol . Even though it is possible, common way is GET where many libraries even assume so (see https://medium.com/@david.richards.tech/sse-server-sent-events-using-a-post-request-without-eventsource-1c0bd6f14425). This means that htv:methodName is actually required with sse subprotocol but with a default value of GET.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
http related to http protocol binding
Projects
None yet
Development

No branches or pull requests

1 participant