[Web-SIG] Random thoughts

Ian Bicking ianb at colorstudy.com
Mon Nov 3 13:26:18 EST 2003


On Nov 3, 2003, at 12:14 PM, John J Lee wrote:
>> If you want to get the query string, that should be available as
>> request.query.
>
> I suspect that's rare enough that we could expect people to just parse 
> the
> request URL themselves, rather than adding yet another attribute.

If we give standard CGI variables somewhere (which is seems like we 
should) then QUERY_STRING will also provide this data.  But of course 
REQUEST_URI.split('?', 1)[1] should do it easily enough as well.

--
Ian Bicking | ianb at colorstudy.com | http://blog.ianbicking.org




More information about the Web-SIG mailing list