Just print("200") or print("500") will work.
On Nov 22, 7:06 pm, "Rodrigo Moraes" <[EMAIL PROTECTED]> wrote:
> duh, how i missed the "without webapp" part of the subject?
>
> reformulating, without webapp you'd need to pass the status code and
> message in the response header, together with other headers, and not
> in the body as you did.
>
> a response object is advised, and you can use the one from WebOb which
> is simple enough.
>
> take a look at google.webapp.ext.webapp.__init__ (in
> Response.wsgi_write()) to see how it does it.
>
> hope this helps.
>
> -- rodrigo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---