Skip to content
This repository has been archived by the owner on Jul 14, 2020. It is now read-only.

Clarify use of headers vs body #99

Closed
thomaseizinger opened this issue Jul 15, 2019 · 2 comments
Closed

Clarify use of headers vs body #99

thomaseizinger opened this issue Jul 15, 2019 · 2 comments

Comments

@thomaseizinger
Copy link
Contributor

thomaseizinger commented Jul 15, 2019

It is not clear from just reading RFC001, how headers and body should be used.

Reason is: Message should be able to be parsed in a single pass, that requires headers to be able to be parsed orthogonally (i.e. they don't depend on each other).
Contrary, field names and datatypes in body may depend on the value of headers.

@birnbuazn
Copy link

While reading RFC004 I again got the impression, that it's rather arbitrary, which information goes into headers and what goes into the body. IMHO this rather confuses instead of helps.

I would not let implementation details (such as single pass parsing) come into my way, when specifying the protocol

@thomaseizinger
Copy link
Contributor Author

#121 is kind of accepted. With it, the concept of headers and body is removed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants