Re: GET problem with CGI

Phil Burk wrote:
> 
> But when I try to download a complex URL like this one from mp3.com:
> 
> http://chooser.mp3.com/cgi-bin/download/mp3-download.cgi?fmt=0&path=/mp3s/the_bran_another_plight_of_medics_pos/shiitor.mp3&genre=1080&id=116148&ds=8

No, that's not what you requested.

> My GET request was simply:
> 
>   GET cgi-bin/download/..snip..148&ds=8 HTTP/1.0<Cr><Lf>
>   <Cr><Lf>

Put simply, put a '/' in front of the 'cgi-bin' in order to
make it a proper URI.  Put more complexly, make it at
least an HTTP/1.0 request rather than HTTP/0.9 by adding
" HTTP/1.0" at the end.  (This probably won't make a
difference, but it's a good idea anyway.)
-- 
#ken  P-)}

Ken Coar                    <http://Web.Golux.Com/coar/>
Apache Software Foundation  <http://www.apache.org/>
"Apache Server for Dummies" <http://Web.Golux.Com/coar/ASFD/>

Received on Friday, 11 June 1999 13:40:17 UTC