[Webware-discuss] request forwarding

Jay,
When you designed and wrote forwardRequest() did you intend that the URLs
were always absolute, or possibly relative?
Suppose we have:
http://host/ctx/dir/hi.py
which forwards to "bye.py". Is the new URL:
1. http://host/ctx/dir/bye.py or
2. http://host/bye.py
I'm thinking 1., e.g., relative, and if you want absolute, you start the
new URL with /
Sound good?
(BTW I just got directory-URL redirects working and am in the process of
finishing up. However, I broke my use of forwardRequest() in
Examples/Main.py which is how this issue came up.)
-Chuck

Thread view

Jay,
When you designed and wrote forwardRequest() did you intend that the URLs
were always absolute, or possibly relative?
Suppose we have:
http://host/ctx/dir/hi.py
which forwards to "bye.py". Is the new URL:
1. http://host/ctx/dir/bye.py or
2. http://host/bye.py
I'm thinking 1., e.g., relative, and if you want absolute, you start the
new URL with /
Sound good?
(BTW I just got directory-URL redirects working and am in the process of
finishing up. However, I broke my use of forwardRequest() in
Examples/Main.py which is how this issue came up.)
-Chuck