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

Middleware support #816

Merged
merged 1 commit into from
Jan 7, 2021
Merged

Middleware support #816

merged 1 commit into from
Jan 7, 2021

Conversation

yhirose
Copy link
Owner

@yhirose yhirose commented Dec 29, 2020

No description provided.

httplib.h Outdated
@@ -4240,7 +4253,7 @@ inline bool Server::write_response_core(Stream &strm, bool close_connection,
std::string boundary;
if (need_apply_ranges) { apply_ranges(req, res, content_type, boundary); }

// Headers
// Preapre additional headers
Copy link

Choose a reason for hiding this comment

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

Did you mean "prepare"?

Copy link
Owner Author

Choose a reason for hiding this comment

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

Yes, that's typo.

@yhirose yhirose force-pushed the middleware branch 2 times, most recently from 04d68f5 to 2099c47 Compare December 31, 2020 23:34
@yhirose yhirose merged commit f008fe4 into master Jan 7, 2021
@yhirose yhirose mentioned this pull request Jan 7, 2021
@yhirose yhirose deleted the middleware branch January 12, 2021 15:16
ExclusiveOrange pushed a commit to ExclusiveOrange/cpp-httplib-exor that referenced this pull request May 2, 2023
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