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

replace withHeaders call with seperate header calls #3

Merged
merged 1 commit into from
Feb 20, 2017
Merged

replace withHeaders call with seperate header calls #3

merged 1 commit into from
Feb 20, 2017

Conversation

barryvanveen
Copy link
Contributor

Hi there!

I've been using this package since a couple of months and it works great, thanks for your work!

Today I tried to install it on an older project that runs on Laravel 5.1. The only problem I've encountered is that the Laravel middleware uses the new withHeaders method. This method isn't available in 5.1 but the same functionality can easily be replaced by making multiple calls to the header method.

This PR fixes this issue. It provides better backwards compatibility without any downsides.

Let me know if I can help or if you have any feedback on this request.

Thanks again for your work,

Barry

@bepsvpt bepsvpt merged commit 92249e7 into bepsvpt:master Feb 20, 2017
@bepsvpt
Copy link
Owner

bepsvpt commented Feb 20, 2017

Thanks @barryvanveen!

I will create test branch to improve testing, thanks a lot 👍

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