spring-framework/spring-webmvc
Brian Clozel f9ae54d91e Allow sending SSE events without data
Prior to this commit, the SseBuilder API in WebMvc.fn would only allow
to send Server-Sent Events with `data:` items in them. The spec doesnn't
disallow this and other specifications rely on such patterns to signal
the completion of a stream, like:

```
event:next
data:some data

event:complete

```

This commit adds a new `send()` method without any argument that sends
the buffered content (id, event comment and retry) without data.

Fixes: gh-32270
2024-02-14 16:58:02 +01:00
..
src Allow sending SSE events without data 2024-02-14 16:58:02 +01:00
spring-webmvc.gradle Upgrade to Jetty 12 2023-09-04 14:03:29 +02:00