Re: Request_Response Problem

2006-06-27 Thread HoLin
Simon,Malcolm, thank you for your quick replies.:)I need to read the docs more carefull.On 6/28/06, Malcolm Tredinnick < [EMAIL PROTECTED]> wrote:On Wed, 2006-06-28 at 09:21 +0800, HoLin wrote: > hi all> I have a Query_String like this :> ?type_encode=0&domain=python&root=.cn&root=.com&root=.net>>

Re: Request_Response Problem

2006-06-27 Thread Malcolm Tredinnick
On Wed, 2006-06-28 at 09:21 +0800, HoLin wrote: > hi all > I have a Query_String like this : > ?type_encode=0&domain=python&root=.cn&root=.com&root=.net > > using request.REQUEST.get("root") can only get the last value *.net* > how can I get the right value of root? The behaviour of this dicit

Re: Request_Response Problem

2006-06-27 Thread Simon Willison
On 28 Jun 2006, at 02:21, HoLin wrote: > ?type_encode=0&domain=python&root=.cn&root=.com&root=.net > > using request.REQUEST.get("root") can only get the last value *.net* > how can I get the right value of root? request.GET.getlist('root') will get you back a list of all of the root= values

Request_Response Problem

2006-06-27 Thread HoLin
hi allI have a Query_String like this :?type_encode=0&domain=python&root=.cn&root=.com&root=.netusing request.REQUEST.get("root") can only get  the last value *.net*how can I get the right value of root? -- RegardsHoLin --~--~-~--~~~---~--~~ You received this messag