DEV Community

Discussion on: Where to Put Response Metadata - Envelope or HTTP Headers?

Collapse
 
elmuerte profile image
Michiel Hendriks

Not really. Content-Length for example is an integer.

Collapse
 
joeflateau profile image
Joe Flateau

It's still a string, a string representation of an integer, but a string none the less.

Thread Thread
 
elmuerte profile image
Michiel Hendriks

So is JSON and XML. It's one big string of characters.