Skip to content

Update list of common Mime Types in PHP development server - #239

Closed
pascalchevrel wants to merge 3 commits into
php:masterfrom
pascalchevrel:mimetypes
Closed

pascalchevrel wants to merge 3 commits into
php:masterfrom
pascalchevrel:mimetypes

Conversation

@pascalchevrel

Copy link
Copy Markdown
Contributor

Update list of common Mime Types in PHP development server to support HTML5 Web audio/video formats (Webm ,and Ogg containers) + have all jpeg mime types listed together.

Should I make separate pull requests to have that in a 5.4.x release or a pull request to master is enough?

… Web audio/video formats (Webm ,and Ogg containers) + have jpeg mime types listed together
@lstrojny

Copy link
Copy Markdown
Contributor

Looks good, but we need a test for it :)

@pascalchevrel

Copy link
Copy Markdown
Contributor Author

No idea how tests are done in PHP :) Do you have a pointer to documentation or an existing similar test for mime types I could use as an example?

@lstrojny

Copy link
Copy Markdown
Contributor

@pascalchevrel

Copy link
Copy Markdown
Contributor Author

I have updated an existing test that was already testing the mime types, the test had a lot of duplicated code so I factorized it..

@pascalchevrel

Copy link
Copy Markdown
Contributor Author

What is the next step?

@lstrojny

Copy link
Copy Markdown
Contributor

I'll test and merge it. Please give me a few more days.

@pascalchevrel

Copy link
Copy Markdown
Contributor Author

Thanks

@php-pulls

Copy link
Copy Markdown

Comment on behalf of lstrojny at php.net:

Merged into 5.4, 5.5 and master. Thanks!

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.

4 participants