Hi Dariusz,
  That junk is the HTTP header.  That can happen when you've called
print before the headers get sent.  If you are using webapp, try using
self.response.out.write instead.  You may need to check your code and
see if you are calling print somewhere earlier in the code too.



Robert







2010/11/21 Dariusz Myśliwiec <[email protected]>:
> Hi,
> I'm trying to use "print" function, but when I receiving text from it,
> it write me text like that:
>
> "       {               "error": 0,             "url": "http://google.com";    
>   }        Status: 200 OK
> Content-Type: text/html; charset=utf-8 Cache-Control: no-cache
> Expires: Fri, 01 Jan 1990 00:00:00 GMT Content-Length: 0"
>
> I want to parse it by using jquery, but It doesn't working. I think
> it's because of that junk at the end of "print" return:
> Status: 200 OK Content-Type: text/html; charset=utf-8 Cache-Control:
> no-cache Expires: Fri, 01 Jan 1990 00:00:00 GMT Content-Length: 0
>
> How to print string without that junk string?
>
> --
> 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.
>
>

-- 
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