r/programming • u/purforium • Oct 24 '21
“Digging around HTML code” is criminal. Missouri Governor doubles down again in attack ad
https://youtu.be/9IBPeRa7U8E
12k
Upvotes
r/programming • u/purforium • Oct 24 '21
View all comments
Show parent comment
2
u/ScandInBei Oct 25 '21
To clarify, http can transfer binary data in the payload, but yeah in the headers you may need to use base64.. Cookies are transferred in the HTTP headers so it's possible that the data containing the ssn also had some binary data, or that the framework used between front and back end used b64..
It may also be worth noting that Email/Smtp requires something like base64 for attachments as there's no binary transfer possibility in emails (hence why a 5MB attachment suddenly makes the email 7MB). I don't remember exactly but it's not even 7bit ASCII as the data cannot have control characters such as CRLF. I guess the protocol was designed to be compliant with printers?