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

PHP header method which is used by Wkhtml2pdf lib to download file doesn't work when using swoole; replaced with laravel response #927

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

quentincaffeino
Copy link
Contributor

So I was pushing this service to its limits and last thing I could do is to try using swoole with it. And it worked, mostly. Only thing I found broken is tickets downloading since Wkhtml2pdf uses header method that isn't supported by swoole. So here is a fix which works with and without swoole just by using laravel response object.

@johannac johannac added the maintenance Maintenance and upgrades of code or dependencies label Jul 31, 2021
PHP header method which is used by Wkhtml2pdf lib to download file doesn't work when using swoole; replaced with laravel response
@quentincaffeino quentincaffeino force-pushed the fix/download-tickets-with-laravel-response branch from f6f1aa3 to 39e2d68 Compare September 24, 2021 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Maintenance and upgrades of code or dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants