[BUG] ImageReadWriter vs. HTTPSocket

Andreas Raab Andreas.Raab at gmx.de
Wed Feb 6 20:04:28 UTC 2002


Well, yeah, watch what's coming back:

'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>404 Not Found</TITLE>
</HEAD><BODY>
<H1>Not Found</H1>
The requested URL
/updates/external/http://www.povray.org/ftp/pub/povray/Hall-Of-Fame/sund
ae.gif was not found on this server.<P>
<P>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the
request.
</BODY></HTML>
'

There ain't no GIF header in there ;-)

Cheers,
  - Andreas


> -----Original Message-----
> From: squeak-dev-admin at lists.squeakfoundation.org 
> [mailto:squeak-dev-admin at lists.squeakfoundation.org] On 
> Behalf Of Torsten.Bergmann at phaidros.com
> Sent: Wednesday, February 06, 2002 8:45 PM
> To: squeak-dev at lists.squeakfoundation.org
> Subject: [BUG] ImageReadWriter vs. HTTPSocket
> 
> 
> HTTPSocket httpGif:
> 'http://www.povray.org/ftp/pub/povray/Hall-Of-Fame/sundae.gif'
> 
> returns the correct form, while 
> 
> |url|
> url := 'http://www.povray.org/ftp/pub/povray/Hall-Of-Fame/sundae.gif'.
> ImageReadWriter formFromServerFile: url.
> 
> was not able to find the gif header. (see GIFReadWriter>>readHeader, 
> the stream is different than in the first expression).
> 
> Bye
> Torsten
> 
> 
> 
> 
> 





More information about the Squeak-dev mailing list