Remove blank line after subscription headers#121
Remove blank line after subscription headers#121toomim wants to merge 1 commit intoversion-updatefrom
Conversation
|
Potential problem: by removing the blank line, the first update returned by a server will be a valid GET response in itself, with a complete If this is the case, it's possible that subscriptions might fail when run through various proxies. Perhaps the extra blank line could sufficiently confuse such a proxy so that it wouldn't try to kill the connection. We would probably have to test subscriptions in a number of real-world scenarios to know for sure. |
|
I tried implementing this in Braid-HTTP, and indeed ran into a problem— Chrome's implementation of This means that, unless we can find a neat hack around Chrome's behavior, we can't make this spec work within existing browsers. I still think this is a great idea to consider in the future, but right now I think we should stick with the existing spec, which essentially "smuggles" multiple responses within a single response body, by inserting an extra blank line in the middle of the first response's headers before emitting And for posterity:
|
|
For now, I'm removing this from milestone 03. |
This implements #85, and clarifies that there are only two levels of message framing in Braid subscriptions:
See #85 (comment)