Mantis - Squeak
Viewing Issue Advanced Details
1728 Network minor always 08-21-05 06:40 08-21-05 07:18
mzimmerm  
 
normal  
new  
open  
none    
none  
0001728: [FIX][BUG] Not displaying full URL in HTTPClient error message ( Error is in parsing ftp url's. )
frankcag@crystal-objects.com:

"
The parsing of the url assumed 'http://' [^] at the head of the url. If the
url didn't star with 'http' it was used as is.

This cs strip off the 'ftp://' [^] part if it is present.
"
 httpGetDocument-fc.cs.gz [^] (1,833 bytes) 08-21-05 06:40

Notes
(0002476)
mzimmerm   
08-21-05 07:12   
Lex Spoon <lex@cc.gatech.edu>:

"
This method is for http downloads, not ftp or other URL's. If you want
to download an arbitrary URL, do something like this:

    url asUrl retrieveContents

Instead of making thi smethod handle more kinds of URL's, how about
adding a comment saying how that class Url should be used to get general
URL functionality?"
(0002477)
mzimmerm   
08-21-05 07:18   
When moving this item from BFAV to Mantis, I verified the attached changeset installs into 3.8-6665, but did not do any further testing.