Thanks for the link, added to code as comment.

On Jan 12, 2012, at 10:06:16AM, Augusto Mecking Caringi wrote:

> On Thu, Jan 12, 2012 at 3:56 PM, Mike Winter <miwin...@cisco.com> wrote:
>> That helps, thanks.
>> 
>> I know that http processing does \r\n, I suppose there is an rfc that says 
>> this is reasonable, and LineReceiver is designed to be used in http for the 
>> same reason.
> 
> "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."
> 
> http://en.wikipedia.org/wiki/Newline#Representations
> 
> []'s
> 
>> On Jan 12, 2012, at 4:42:45AM, Itamar Turner-Trauring wrote:
>> 
>>> At a guess, it's because by default LineReceiver splits on '\r\n', but
>>> you're sending only '\n'.
>>> 
>>> -Itamar
> 
> -- 
> Augusto Mecking Caringi
> 
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python@twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to