[Twisted-Python] telnet works, why wont this client/protocol test?
Augusto Mecking Caringi
augustocaringi at gmail.com
Thu Jan 12 13:57:03 EST 2012
On Thu, Jan 12, 2012 at 4:33 PM, Glyph <glyph at twistedmatrix.com> wrote:
> On Jan 12, 2012, at 1:06 PM, Augusto Mecking Caringi wrote:
> "Most textual Internet protocols (including HTTP, SMTP, FTP, IRC and
> many others) mandate the use of ASCII CR+LF (0x0D 0x0A) on the
> protocol level, but recommend that tolerant applications recognize
> lone LF as well."
> 
> Where is the recommendation that "tolerant" applications recognize lone LF
> for these protocols? Re-skimming the RFCs now, they all seem to mandate CR
> LF. (Also: is there a recommendation elsewhere that delineates between
> tolerant and intolerant applications?)
But there is an interesting fact:
"nc" and "openssl s_client", two utilities that I use every day to
connect to diferent types of servers send only LF as default...
To use CRLF you must explicity do this:
More information about the Twisted-Python