[nginx] Update mime-types

Lafiel lafiel at elven.pw
Wed Apr 3 09:15:14 UTC 2024


Hello!

Maxim 
Dounin 
писал(а) 
2024-04-03 
01:11:
> These two seems to be closely related and probably can be 
> merged
> into one 
> patch.
> 
> Still, I'm somewhat sceptical about the idea of 
> using
> vendor-specific type for general formats.  Preserving 
> existing
> application/octet-stream type might be a better 
> option.
> 
> Any specific reasons for the 
> change?

These 
types 
are 
recommended 
for 
booting 
a 
RAM 
disk 
over 
HTTP.
Update 
commit.


> This looks wrong.  Scalable Polyphony MIDI is a separate 
> standard,
> which defines additional features.  It does not mean that all 
> MIDI
> files are SP-MIDI 
> files.

Ok.


> Both oga and opus seems to be almost 
> unused:
> 
> $ grep -E '^(ogg|oga|opus|spx),' 
> Downloads/httparchive_exts.csv
> ogg,15195,29547
> oga,383,751
> opus,14,92
> 
> As well as spx, which is mentioned in the commit log, but not 
> in
> the 
> patch.

Added 
.spx 
files.
Update 
commit 
and 
comments.

Also 
I'm 
guessing 
that 
httparchive.org's 
statistics 
are 
not
comprehensive 
enough.
Example 
for 
iso 
files:
ext,total_pages,total_requests
iso,11,12


> If at all, this should be also change m4v, which is a 
> similar
> mp4-based Apple format for video.  I doubt it needs 
> changing
> though.  Any specific reasons for the 
> change?

Later 
I 
planned 
to 
add 
changes 
for 
the 
video/mp4 
mime 
type. 
Now 
I
have 
added 
a 
commit.

To 
formats 
OGG 
and 
MP4, 
there 
are 
application/ogg 
and 
application/mp4
types. 
Apache 
has 
them. 
Maybe 
they 
should 
be 
added 
too?


-- 
Best 
regards,
Lafiel
mailto:lafiel at elven.pw
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mime_types_03.patch
Type: text/x-diff
Size: 7864 bytes
Desc: not available
URL: <http://freenginx.org/pipermail/nginx-devel/attachments/20240403/4af0e17f/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0xFAB0C3D2.asc
Type: application/pgp-keys
Size: 1461 bytes
Desc: not available
URL: <http://freenginx.org/pipermail/nginx-devel/attachments/20240403/4af0e17f/attachment.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://freenginx.org/pipermail/nginx-devel/attachments/20240403/4af0e17f/attachment.sig>


More information about the nginx-devel mailing list