sending images via socket?

Marc Christiansen tolot at solar-system.dynodns.net
Wed Sep 26 15:29:57 EDT 2001


Boyd Roberts <boyd at insultant.net> wrote:
> "Marc Christiansen" <tolot at solar-system.dynodns.net> a écrit dans le message news: 20oqo9.pnp.ln at utolot.toppoint.de...
>> rainlet <orrego at mail2000.com.tw> wrote:
>> > and I send this also :
>> >
>> > NEWSOCK.send ( "Content-Type: image/" + FILETYPE )
>>
>> The linefeed is missing. Unlike print, socket.send does not add one.
> 
> i think you mean carriage return.  it'll be a CR LF sequence.

In this case I meant CR LF. So you are only partly correct <wink>. I simply
forgot that the correct line terminator is CR LF. Sorry for any confusion.

Marc



More information about the Python-list mailing list