Hi all,
Is there a way for me to send errors (with my description) inside a
controller?
"""
200 OK - body message...
400 Bad Request - body message...
401 Not Authorized - body message...
403 Forbidden - body message...
404 Not Found - body message...
"""
something like:
return (400, "Bad Request", {'Content-Type': 'text/plain'}, 'You sent
me garbage')
or
return (200, "OK", {'Content-Type': 'text/plain', 'Pragma':'no-cache'},
'Test message... OK!!!')
Thanks,
Helio
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---