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

Remove blank line after subscription headers #121

Open
wants to merge 1 commit into
base: version-update
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 6 additions & 9 deletions draft-toomim-httpbis-braid-http-03.txt
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,6 @@ Table of Contents

HTTP/1.1 209 Subscription
Subscribe: keep-alive

Version: "ej4lhb9z78" | Update
Parents: "oakwn5b8qh", "uc9zwhw7mf" |
Content-Type: application/json |
Expand Down Expand Up @@ -528,10 +527,11 @@ Table of Contents

3.2. Sending multiple updates per GET

To send multiple updates, a server concatenates multiple updates into
a single response body. Each update MUST include headers and a body,
and MUST specify the end of its body by including at least one of the
following headers:
To send multiple updates, a server sends the first update as usual,
but then leaves the connection open, and appends additional updates
to the end of the response body. Each update MUST include headers
and a body, and MUST specify the end of its body by including at
least one of the following headers:

- Content-Length: N
- Patches: N
Expand Down Expand Up @@ -570,7 +570,6 @@ Table of Contents

HTTP/1.1 209 Subscription
Subscribe: keep-alive

Version: "ej4lhb9z78" | Update
Content-Type: application/json |
Content-Length: 64 |
Expand All @@ -590,7 +589,6 @@ Table of Contents

HTTP/1.1 209 Subscription
Subscribe: keep-alive

Version: "g09ur8z74r" | Update
Parents: "ej4lhb9z78" |
Content-Type: application/json |
Expand Down Expand Up @@ -624,8 +622,7 @@ Table of Contents

HTTP/1.1 209 Subscription
Subscribe: keep-alive
Current-Version: "ej4lhb9z78" <-- Current Version

Current-Version: "ej4lhb9z78" | <-- Current Version
Version: "b9z78ej4lh" | Updates
Content-Type: application/json |
Merge-Type: sync9 |
Expand Down