Re: [Web-SIG] Repeating slashes in REQUEST_URI, SCRIPT_NAME and PATH_INFO.

2007-01-28 Thread Robert Brewer
Graham Dumpleton wrote: > What is accepted convention for dealing with repeating slashes. > Should any web server adapter leave repeating slashes in both > SCRIPT_NAME and PATH_INFO, or should it at least normalise > SCRIPT_NAME so that it matches the designated mount point. The URI BNF allows for

[Web-SIG] Repeating slashes in REQUEST_URI, SCRIPT_NAME and PATH_INFO.

2007-01-28 Thread Graham Dumpleton
Another question on SCRIPT_NAME, PATH_INFO etc. This time I am after information on what responsibilities an adapter for a specific web server has in respect of removal and/or preservation of repeating slashes in a request URI. Take for example that a WSGI application is mounted at: /wsgi/a a

Re: [Web-SIG] Relationship between SCRIPT_NAME and PATH_INFO.

2007-01-28 Thread Phillip J. Eby
At 07:07 PM 1/28/2007 +, Alan Kennedy wrote: >[Graham Dumpleton] > > Should a WSGI adapter for a web server which allows a mount point to > > have a trailing slash specifically flag as a configuration error an > > attempt to use such a mount point given that it appears to be > > incompatible wi

Re: [Web-SIG] Relationship between SCRIPT_NAME and PATH_INFO.

2007-01-28 Thread Ian Bicking
Graham Dumpleton wrote: > In the PEP it says: > > SCRIPT_NAME >The initial portion of the request URL's "path" that corresponds >to the application object, so that the application knows its virtual >"location". This may be an empty string, if the application >corresponds to the "ro

Re: [Web-SIG] Relationship between SCRIPT_NAME and PATH_INFO.

2007-01-28 Thread Alan Kennedy
[Graham Dumpleton] > Should a WSGI adapter for a web server which allows a mount point to > have a trailing slash specifically flag as a configuration error an > attempt to use such a mount point given that it appears to be > incompatible with WSGI? OK, I'll have a go. I think the question boils