jetspeed  

RE: Trailing slashes education

Steve Freeman
Thu, 22 Feb 2001 12:33:05 -0800

I stand corrected...  I forgot about the necessary '/' for the GET command.

Steve



                                                                                       
                                    
                    "Craig Berry"                                                      
                                    
                    <[EMAIL PROTECTED]>        To:     "JetSpeed" 
<[EMAIL PROTECTED]>                       
                    Sent by:                     cc:                                   
                                    
                    <[EMAIL PROTECTED]       Subject:     RE: Trailing slashes 
education                               
                    -dogs.com>                                                         
                                    
                                                                                       
                                    
                                                                                       
                                    
                    02/21/01 07:36 PM                                                  
                                    
                    Please respond to                                                  
                                    
                    "JetSpeed"                                                         
                                    
                                                                                       
                                    
                                                                                       
                                    



> From: Steve Freeman [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 21, 2001 9:30 AM
>
> It has to do with the processing at the server end....
>
> The site name without the trailing slash indicates that the server
> should provide the default page for the site.  Sometimes this is a
> complex name of a file or program not stored in the root html
directory.
> To make it easier for the users of the site, this information is
> defaulted when the user doesn't specify the trailing slash.
>
> The site name with a trailing slash indicates that the server should
> provide the default page for the root html directory.  For the above
> case of a complex name, this default page usually redirects the
> browser to the new location.

I don't believe that's the case, since the http request will consist
simply of "GET /" in either case.  It's the client browser that assumes
the implicit trailing / in this case, not the server.  To my knowledge,
the server would have no way to distinguish between the two cases.

--
Craig Berry - (310) 570-4140
VP Technology
GlueCode
1452 Second St
Santa Monica CA 90401



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/jetspeed@list.working-dogs.com/>
List Help?:          [EMAIL PROTECTED]