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

Introduce method shorthands for Request constructor #159

Merged
merged 4 commits into from
May 27, 2020
Merged

Introduce method shorthands for Request constructor #159

merged 4 commits into from
May 27, 2020

Conversation

zeroed
Copy link
Contributor

@zeroed zeroed commented May 26, 2020

Expose easy shorthands for Request constructors to match the approach
used in Surf.

Checklist

  • introduce method shorthands for Request constructor;
  • add tests;
  • update documentation and examples;

Refs: #156

zeroed added 2 commits May 26, 2020 09:45
Expose easy shorthands for Request constructors to match the approach
used in Surf.

Refs: #156
src/request.rs Outdated Show resolved Hide resolved
Copy link
Member

@yoshuawuyts yoshuawuyts left a comment

Choose a reason for hiding this comment

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

I like this a lot! Seems like cargo fmt may be missing still but otherwise this LGTM.

cc/ @jbr if you'd like to take a look?

@Fishrock123
Copy link
Member

Fwiw seems fine to me.

@zeroed
Copy link
Contributor Author

zeroed commented May 27, 2020

Thank you.
I will ensure cargo fmt, tests (and no typos) and mark the PR as "Ready for review".

@zeroed zeroed marked this pull request as ready for review May 27, 2020 18:33
Copy link
Member

@yoshuawuyts yoshuawuyts left a comment

Choose a reason for hiding this comment

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

Thanks heaps!

@yoshuawuyts yoshuawuyts merged commit 6aa5b33 into http-rs:master May 27, 2020
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