Skip to content

[7.x] Added head method to PendingRequest class #32782

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

Merged
merged 2 commits into from
May 12, 2020

Conversation

Victor-emil
Copy link
Contributor

Currently it is only possible to send a HEAD request through the send method which works just fine. However it is not a sleek as using the get, post, delete methods.

This pull request adds a dedicated method called head to send a HEAD request with the same arguments as the current get method.

@GrahamCampbell GrahamCampbell changed the title Added head method to PendingRequest class [7.x] Added head method to PendingRequest class May 12, 2020
@taylorotwell taylorotwell merged commit 2e5c20c into laravel:7.x May 12, 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.

2 participants