Garbage bytes on http output?

When I use telnet to view my website, I get these strange numbers / letters in the output. This does not happen in the browser, and they are certainly not in my source code. I checked other sites and they don’t have them. Any ideas why? Are they trash? How can I get rid of them?

telnet www.mysite.com 80
  GET / HTTP / 1.1
Host www.mysite.com

Some parts of the web page are fine, but others look like this (I highlighted them in bold):

51
<ul>
<li><a href="/path/to/file
<b> 1b
">Link name</a></li>
<li><a href="/path-to-another-file
2a

EDIT: requested information
Apache 2 and CGI (C)
Dynamically generated

+3
2

"chunked" encoding, - HTTP- (, CGI, PHP ASP), . ( "" ) - , ( , , ). , .

RFC 2616 ( HTTP) HTTP/1.1 . , , , , HTTP/1.0, :

telnet www.mysite.com 80
GET / HTTP/1.0
Host: www.mysite.com 

, , , .

+5
+2

Source: https://habr.com/ru/post/1772393/


All Articles