alexdebril / feed-io

A PHP library to read and write feeds in JSONFeed, RSS or Atom format
https://alexdebril.github.io/feed-io/
MIT License
257 stars 54 forks source link

Added more consice mime types to default standards #396

Closed boris-glumpler closed 2 years ago

boris-glumpler commented 2 years ago

This is the PR for #393

I ended up adding the mime type to the standard and then passing it from there directly to the response builder. The advantage being that any custom standard will be supported. It is a breaking change though. Alternatively, I could just resubmit a PR with just a regular match statement within ResponseBuilder::createResponse().

boris-glumpler commented 2 years ago

Thanks @alexdebril, appreciate it!

alexdebril commented 2 years ago

You're welcome! it's shipped in version 5.1.0