[twsocket] Unconventional use of HTTP...

2007-05-13 Thread Erik Brännlund
Hi! I'm trying to send a small JPEG- image over TWSocket directly. If I send a HTML coded page it works but not for an image. This is what I send. l.Add('HTTP/1.1 200 OK' + #13#10);// l is TStringList; l.Add('Content-Type: image/jpeg' + #13#10); l.Add('Content-Length: ' +

Re: [twsocket] Unconventional use of HTTP...

2007-05-13 Thread Arno Garrels
Erik Brännlund wrote: Hi! I'm trying to send a small JPEG- image over TWSocket directly. If I send a HTML coded page it works but not for an image. This is what I send. l.Add('HTTP/1.1 200 OK' + #13#10);// l is TStringList; l.Add('Content-Type: image/jpeg' + #13#10);

Re: [twsocket] Unconventional use of HTTP...

2007-05-13 Thread DZ-Jay
On May 13, 2007, at 05:45, Erik Brännlund wrote: Hi! I'm trying to send a small JPEG- image over TWSocket directly. If I send a HTML coded page it works but not for an image. This is what I send. l.Add('HTTP/1.1 200 OK' + #13#10);// l is TStringList; l.Add('Content-Type: