Add WSGI Support to Simple URL #2

Closed
kracekumar opened this Issue Nov 17, 2012 · 0 comments

Projects

None yet

1 participant

@kracekumar
Owner

Currently

        self.urls = self.url_map.bind(server_name=headers[u'host'], url_scheme=headers[u'VERSION'].split('/')[0],
             default_method=message.method, path_info=url_path, query_args=arguments)

this code assumes request is non-wsgi, check for wsgi and bind to environment.

@kracekumar kracekumar was assigned Nov 17, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment