Hi,

Use self.request.GET_str['data'].

-Nick Johnson

On Mon, Mar 1, 2010 at 6:38 AM, Iap <[email protected]> wrote:

> Hi,
>
> I have a weird problem: If I make a request with binary value parameters,
> I can not get it back from the self.request.get. For example:
>
> http://xxx.appspot.com/index?data=%E2%E3%5D6%BD%3Bj%C2%EEW%C5o%1B*K%07
>
> The "%E2%E3%5D6%BD%3Bj%C2%EEW%C5o%1B*K%07" is the escaped binary string.
>
> Then, in the GAE ("def get(self):")
> data = self.request.get('data')
> The returned data is not the original one. It seems to be encoded into
> unicode.
> My work-around  is to retrieve the original query_string by
> self.request.query_string.
>
> I'd like to know if is there any other method that I can get the
> non-unicode-encoded query values?
>
> Thanks in advance,
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>


-- 
Nick Johnson, Developer Programs Engineer, App Engine
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
368047

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to