Why HTTP protocol is designed in plain text way?

前端 未结 10 1720
小蘑菇
小蘑菇 2020-12-08 07:29

Yesterday, I have a discussion with my colleagues about HTTP. It is asked why HTTP is designed in plain text way. Surely, it can be designed in binary way just like TCP prot

10条回答
  •  孤城傲影
    2020-12-08 07:39

    Historically, it all starts from RFC822 (STANDARD FOR THE FORMAT OF ARPA INTERNET TEXT MESSAGES), whose latest version is RFC5322 (Internet Message Format). SMTP (RFC 821) was one of the most popular protocol based on RFC822. And, HTTP was born out of SMTP (your mail protocol).

提交回复
热议问题