[Twisted-Python] Building Twisted 13.2.0 packages for RH 7.0

2015-11-03 Thread Kobi Bar
Hi, I need to build twisted 13.2.0 packages for RH 7.0. I downloaded the source from https://pypi.python.org/packages/source/T/Twisted/Twisted-13.2.0.tar.bz2#md5=83fe6c0c911cc1602dbffb036be0ba79. Currently, I'm able to build only one package "python-twisted-13.2.0-1.x86_64.rpm" (by running the c

Re: [Twisted-Python] Building Twisted 13.2.0 packages for RH 7.0

2015-11-03 Thread Glyph Lefkowitz
> On Nov 3, 2015, at 8:16 AM, Kobi Bar wrote: > > I need to build twisted 13.2.0 packages for RH 7.0. Why do you need to do this? Twisted 13.2 is 2 years old at this point, and is missing important features (especially client TLS verification, added in 14.0). Unless you are upgrading an app

Re: [Twisted-Python] How to design REST API with Twisted?

2015-11-03 Thread Wang Yan
I'm planning to design some REST APIs with Twisted in Python. For example, I want to use the HTTP method "GET" to fetch a single user's information: GET http://myhost:8000/api/v1.0/users/[user_id] I know I should inherit the twisted.web.resource.Resource and implement "getChild" by myself. The

Re: [Twisted-Python] How to design REST API with Twisted?

2015-11-03 Thread Mashiat Sarker Shakkhar
On 11/3/15 10:15 PM, Wang Yan wrote: I'm planning to design some REST APIs with Twisted in Python. For example, I want to use the HTTP method "GET" to fetch a single user's information: |GET http://myhost:8000/api/v1.0/users/[user_id] | I know I should inherit the twisted.web.resource.Resour