[pylons-discuss] has anyone made a tween/middleware/etc to adapt status codes depending on http protocol?

2017-09-14 Thread Jonathan Vanasco
Hoping to not reinvent the wheel if possible... I'd like to write our code redirects as HTTP/1.1 when applicable (such as 303SeeOther on a successful post submission), but downgrade it to HTTP/1.0's 302 redirect if the client hasn't identified HTTP/1.1. Has anyone worked on this? -- You

Re: [pylons-discuss] Porting a ZOPE (2.13) application into PYRAMID

2017-09-14 Thread Mikko Ohtamaa
Hi Roberty, You are right; Pyramid is your best bet. Pyramid community knows ho to interact with ZODB and Chameleon is prettty close to ZPT. I would suggest continuous migration approach, where you start moving views to a Pyramid server URL by URL, using some kind URL map on the front end web

[pylons-discuss] Porting a ZOPE (2.13) application into PYRAMID

2017-09-14 Thread roberto . ihs
Hello to everybody, I have an alive application running in (on) ZOPE 2.13. We are maintaining the application with linux virtual machines running python 2.7 and ZOPE 2.13. Here are a summary description of the objects present in ZODB: - 335 pages are written in *ZPT *(Zope Page Template) - 230