Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GrowlerHTTPResponder' object has no attribute 'client_query' #9

Closed
leonardoo opened this issue May 15, 2016 · 1 comment
Closed

GrowlerHTTPResponder' object has no attribute 'client_query' #9

leonardoo opened this issue May 15, 2016 · 1 comment

Comments

@leonardoo
Copy link
Contributor

when i try to get get a param from a url, the app gave me this error

ERROR:growler.router:4441216280:'GrowlerHTTPResponder' object has no attribute 'client_query'
ERROR:growler.middleware_chain:4437457384:'GrowlerHTTPResponder' object has no attribute 'client_query'
https://gist.github.com/leonardoo/cc9c0ae4ac0593553b4bfea239758528

the fix is change:

....
    @property
    def query(self):
        return self._protocol.client_query

for this:

....
    @property
    def query(self):
        return self._protocol.parsed_query
@akubera
Copy link
Member

akubera commented May 16, 2016

Thanks for your contribution! That bug was introduced a while ago when I was trying to move away from the parser storing data and putting more client information into the Protocol object. The target for that particular property was this attribute (otherwise unused). This also shows I need to buckle down and get more test coverage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants