Open egekorkan opened 11 months ago
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.
htv:methodName
GET
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 ofGET
.