On Thu, Jan 12, 2012 at 8:57 PM, Augusto Mecking Caringi <augustocari...@gmail.com> wrote: > Right. > > 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...
"nc" and "openssl s_client" read bytes from stdin and send them on exactly as-is; it's your terminal that is sending LF. The reason openssl provides an option to translate LF to CRLF is that this is often useful when testing line-oriented network protocols interactively, but this just underscores the point; if you want to communicate with a network server that expects CRLF, you should send CRLF from your client, not expect every server out there to accept LF as an alternative line ending. -- mithrandi, i Ainil en-Balandor, a faer Ambar _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python