Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.2.14
-
None
-
None
-
Unknown
Description
The SseEventSource is primarily targeted at using HTTP GET requests to initiate the connection. It is extremely difficult to use a POST request instead.
POST requests are useful for when information (e.g. server side event filtering) needs to be passed in the request, but that information is too big for query parameters or it contains URL unsafe characters, or it is serialised using a Content-Type that can be decoded by JAX-RS body converters.
It should be simple enough to add a configuration property into the web target passed to the SseEventSource. This could map to a JAX-RS entity. If the entity is present then it is used as the body of the post. Otherwise a GET is used.
Attachments
Issue Links
- links to