Paulo André a écrit :
>
> On Jun 26, 2007, at 1:55 AM, Jorge Vargas wrote:
>
>> what you are getting is a "redirect" or http "error code" 302 that
>> means what you are looking for is not here and it is in another place
>> (specified in headers), what is happening is that your "browser code"
>> isn't handling those and probably wget isn't either although I though
>> it did on the default configuration.
>
> But why am I getting this redirect in the first place?

This is the normal behavior from CherryPy when you access the index page 
handler of the application with a trailing '/', it will redirect you to 
the correct URL with the trailing '/'. It works in your browser because 
it understands the 302 and automatically performs the request at the 
correct URL (look at your CP log).

So the question really is why not using the URL with the trailing '/' in 
the first place? :)

- Sylvain

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to