# Handle SSE data fields without spaces \(\#60575\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/007ffc790e653dda87f2f2f6276358f3a4e45c74)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 007ffc790e653dda87f2f2f6276358f3a4e45c74

Requested commit: 007ffc790e653dda87f2f2f6276358f3a4e45c74

Commit: 007ffc790e653dda87f2f2f6276358f3a4e45c74

Tree: 646674834797065c36cd1a7b29ac3a4e93cbafdb

Author: 迷渡

Committer: GitHub

## Message

```
Handle SSE data fields without spaces (#60575)

Fixes #60270.

## Summary

- Accept MCP HTTP SSE `data:` fields when the optional space after the
colon is omitted.
- Add a regression test covering `data:{...}` streamable HTTP responses.

## Tests

- `cargo fmt --check`
- `cargo test -p context_server
test_sse_data_field_without_space_after_colon -- --nocapture`
- `cargo test -p context_server -- --nocapture`

Release Notes:

- Fixed MCP HTTP context servers timing out when SSE data fields omit
the optional space after the colon.

---------

Co-authored-by: dino <dinojoaocosta@gmail.com>
```

## Parents

- [f85349be9c466643902dd06b98b5cc13bfbc83f6](https://git.cafe/gitcafe/zed/commit/f85349be9c466643902dd06b98b5cc13bfbc83f6?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/007ffc790e653dda87f2f2f6276358f3a4e45c74?format=markdown)
