Two parameters for supported codes, but check http.py to() code and you'll see parsing present for the "compressed" parameter I described. On 1 May 2013 22:02, "Michele Comitini" <michele.comit...@gmail.com> wrote:
> Shouldn't be: > > HTTP(750, 'Make my day') > > i.e. with the code as int and a description as str? > > > 2013/5/1 Carl Roach <m...@carlroach.com> > >> The existing code makes it possible to raise any 3-digit status code. >> >> raise HTTP('xxx Messsage_text') >> >> though, see above post, spaces aren't allowed in Message_text in current >> regex. >> >> >> >> On Wednesday, 1 May 2013, Anthony wrote: >> >>> There's more than just one missing -- >>> http://www.iana.org/assignments/http-status-codes/http-status-codes.xml >>> lists >>> 28 4xx codes alone. Perhaps we should add some of them explicitly, but we >>> should also make it possible to raise other codes. >>> >>> Anthony >>> >>> On Wednesday, May 1, 2013 3:34:00 PM UTC-4, Niphlod wrote: >>>> >>>> PS: having the missing one in gluon/http.py shouldn't be a >>>> performance-penalty. >>>> Send a patch for the one missing but avoid being "too much off the >>>> standards" (like a "750 Didn't bother to compile it") >>>> >>>> -- >>> >>> --- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "web2py-users" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/web2py/03sPc8GVBG0/unsubscribe?hl=en. >>> To unsubscribe from this group and all its topics, send an email to >>> web2py+unsubscr...@googlegroups.com. >>> >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> -- >> >> --- >> You received this message because you are subscribed to the Google Groups >> "web2py-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to web2py+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > > --- > You received this message because you are subscribed to a topic in the > Google Groups "web2py-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/web2py/03sPc8GVBG0/unsubscribe?hl=en. > To unsubscribe from this group and all its topics, send an email to > web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.