u01jmg3 / ics-parser

Parser for iCalendar Events • PHP 8+, 7 (≥ 7.4), 5 (≥ 5.6)
MIT License
439 stars 144 forks source link

Allow set HTTP Protocol Version #295

Closed clintallan closed 2 years ago

clintallan commented 2 years ago

I am using your package to parse ics files. I currently have an issue with booking.com feeds. This is caused by using HTTP protocol 1.1. If we set it to 1.0 it fixes the issue. I have a branch locally to fix the issue. This allows you to pass the HTTP protocol version into the initUrl method. Defaults to 1.1 if not passed in. Happy to push it up and create a PR to resolve it rather than fork the project.

Thanks

u01jmg3 commented 2 years ago

Please PR

clintallan commented 2 years ago

Please PR

Need access to push

u01jmg3 commented 2 years ago

Fork then PR

clintallan commented 2 years ago

Done

u01jmg3 commented 2 years ago

Closed by #296