Skip to content

Falcon person tracking? #326

@rezende

Description

@rezende

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions