Skip to content

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

Merged
taylorotwell merged 2 commits into
laravel:7.xfrom
Victor-emil:7.x
May 12, 2020
Merged

taylorotwell merged 2 commits into
laravel:7.xfrom
Victor-emil:7.x

Conversation

@Victor-emil

Copy link
Copy Markdown
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
salmanarshad321 pushed a commit to salmanarshad321/framework that referenced this pull request Sep 23, 2026
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