--
---
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+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
thanks Leonel, I'm refactoring server calls at the mo, but I'll try that straight afterwards.
On 1 May 2013 15:56, Leonel Câmara wrote:
I guess you could add 429 to gluon.http definitions in your model and then use it, but I haven't tried itSomething like thin in your modelfrom gluon import httphttp.defined_status[429] = 'Too Many Request'And then in your controllersraise HTTP(429)
Quarta-feira, 1 de Maio de 2013 15:13:05 UTC+1, Carl escreveu:
Web2py supports a subset of HTTP status codes as listed here: http://en.wikipedia.org/wiki/List_of_HTTP_status_codes--The LinkedIn service I am using employs throttling and I'd like to throw a 429 Too Many Requests exception.Can this status code, along with other missing codes, be added to web2py in gluon/http.py?
---
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+unsubscribe@googlegroups.com.
raise HTTP('429 Too Many Requests')
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
--
---
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+un...@googlegroups.com.
Two parameters for supported codes, but check http.py to() code and you'll see parsing present for the "compressed" parameter I described.
HTTP(750, 'Make my day')
To unsubscribe from this group and all its topics, send an email to web2py+unsubscribe@googlegroups.com.
--
---
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+un...@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+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.