Hacker News new | ask | show | jobs
by beej71 1 day ago
And HTTP transports many, many more things than hypertext. It seems like a sensible choice for this use case in terms of capabilities.
1 comments

Why, what advantage does adding the extra layer bring? You can just open a socket and send JSON to it, you know, you don't need this layer. But if the layer brings advantages then you should, but you have to explain the advantages.
Since it's email, we probably want to send content of several different types, and MIME is baked into HTTP. And the commonality with email-style headers is nice, as well.