W3C home > Mailing lists > Public > www-talk@w3.org > May to June 1999

Re: GET problem with CGI

From: Rodent of Unusual Size <Ken.Coar@Golux.Com>
Date: Fri, 11 Jun 1999 13:40:16 -0400
Message-ID: <37614A00.6039D75F@Golux.Com>
To: Phil Burk <philburk@softsynth.com>, www-talk@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:24 GMT