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

feat(middleware): Add middleware method "process_resource" #416

Merged
merged 1 commit into from
Jan 30, 2015

Conversation

rahmansyed
Copy link
Contributor

Create a new middleware method process_resource that occurs after process_request and routing, and ensure that the resource object is accessible. Additionally, make the resource object available to process_response.

Issue #400

@rahmansyed rahmansyed force-pushed the middleware_process_resource branch 3 times, most recently from d20d1a9 to 391044f Compare January 26, 2015 16:17
\"""Process the request after routing.

Args:
req: Request object that will eventually be
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At this point, the routing has occurred, so maybe reword this to:

"req: Request object that will be passed to the routed responder"

Create a new middleware method process_resource that occurs after process_request and routing, and ensure that the resource object is accessible. Additionally, make the resource object available to process_response.

Issue falconry#400
@ealogar
Copy link
Contributor

ealogar commented Jan 27, 2015

Nice work!

@kgriffs
Copy link
Member

kgriffs commented Jan 28, 2015

Nice job, LGTM.

@rahmansyed
Copy link
Contributor Author

Thanks guys! My first open source contribution ever (long overdue).

kgriffs added a commit that referenced this pull request Jan 30, 2015
feat(middleware): Add middleware method "process_resource"
@kgriffs kgriffs merged commit 5886e64 into falconry:master Jan 30, 2015
@kgriffs kgriffs added this to the 0.2.0 milestone Jan 30, 2015
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

Successfully merging this pull request may close these issues.

3 participants