sending images via socket?

Boyd Roberts boyd at insultant.net
Wed Sep 26 16:04:30 CEST 2001


"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.






More information about the Python-list mailing list