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

breaking: change the signature of after request functions #46

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ceejbot
Copy link

@ceejbot ceejbot commented Nov 21, 2016

The AfterRequestFunc type signature is now fn(&Request, &mut Response). This change allows information from the request to be used in typical post-request tasks such as logging in a standard format or reporting request timings. Specifically I needed to log in the Apache common log format, which includes request info, the response status code, and the size of the response body in bytes.

The AfterRequestFunc type signature  is now `fn(&Request, &mut
Response)`. This change allows information from the request to be used
in typical post-request tasks such as logging in a standard format
or reporting request timings.
Nuked ssl features, since those are no longer part of hyper
and we're not using them.
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.

1 participant