Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
CherryPy 3.2 dispatch and query params
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
dbrattli  
View profile  
 More options Jun 17, 10:59 am
From: dbrattli <dbrat...@gmail.com>
Date: Wed, 17 Jun 2009 07:59:55 -0700 (PDT)
Local: Wed, Jun 17 2009 10:59 am
Subject: CherryPy 3.2 dispatch and query params
Hi,

I also have another issue with GearShift and CherryPy 3.2. This time
it's the sequence of the stages "get_resource" and
"process_query_string". With CP 3.1 the query string was parsed  in
process headers (before get_resource). With 3.2 it's parsed by itself
after get_resource. Thus custom dispatchers don't have access to the
query params anymore.

An example of this is the GearShift REST dispatcher that supports
stuff such as POST /resource?_method=DELETE so one can support DELETE
or PUT for clients that only supports POST. But with CP 3.2 the
dispatcher does not have access to the parsed query string anymore.

If it's not a good reason for having "process_query_string" after
"get_resource" I would suggest parsing the query string before getting
the resource.

-- Dag


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google