source: TI05-delivery/ows_framework/trunk/ows_server/ows_server/lib/ @ 3536

Subversion URL:
Revision 3536, 88 bytes checked in by cbyrom, 14 years ago (diff)

Upgrade the server code to make consistent with newer pylons codebase - v0.9.6.1.
This mainly involves the replacement of the Response object, and associated methods,
with the inbuild, default response object. Typical changes include:

render_response -> render - with required settings on the response object
made before the render call against the response object

Response(...) -> response.write() - for content + response.headers.. = .. for headers info

  • also included the replacement of depricated functions, as highlighted by

the server logging

1from pylons import config
3class Globals(object):
4    def __init__(self):
5        pass
Note: See TracBrowser for help on using the repository browser.