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

Falcon person tracking? #326

Open
rezende opened this issue Jan 31, 2020 · 0 comments
Open

Falcon person tracking? #326

rezende opened this issue Jan 31, 2020 · 0 comments

Comments

@rezende
Copy link

rezende commented Jan 31, 2020

Hey!

Is this enough to add person tracking when using the Falcon framework?

class UserInfoMiddleware(object):
    def process_request(self, req, _resp):
        setattr(req, 'user_id', _get_user_id_())

I added this as one of the first middlewares, but it does not seem to be working. Is there anything more that should be done? Thanks.

Btw I am using Falcon 1.4.1

If this is not the proper place to ask, do you mind pointing me to a better place?

Thanks again.

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

1 participant