Yeah .. this worked .. thank you. Is there any reason behind implementing it this way?
Khaled Brent Pedersen wrote: > i think if you use raise, it'll show as you expect: > > raise web.HTTPError(status, headers, message) > > On Thu, Dec 18, 2008 at 8:38 AM, Khaled Hussein > <[email protected]> wrote: > > > > Hi Guys, > > How can I send a custom badrequest message without using templates. > > Here is what I have been trying. > > > > return web.HTTPError(status, headers, message) > > > > However ... when I check the returned response's message response.data > > it is the same like response.status. Do you have any thoughts on > > that? .. is it a bug? > > > > Thanks, > > Khaled > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" 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/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
