[nginx] Update mime-types

Lafiel lafiel at elven.pw
Tue Mar 26 19:25:34 UTC 2024


Hello!

Again 
I 
forgot 
to 
fix 
minor 
bugs 
in 
commits, 
I 
fixed 
it.
Any 
plans 
to 
add 
a 
git 
mirror? 
:)

Maxim 
Dounin 
писал(а) 
2024-03-26 
06:29:
> Apache still uses application/x-shockwave-flash.  Still, 
> given
> that Flash is EoLed since 2020, this probably doesn't 
> matter.
> 
> OTOH, it might be a good idea to don't touch it, 
> specifically
> because it is EoLed anyway, and such a change is not expected 
> to
> improve things, but might break some installations which 
> still
> work.
> 
> Overall, I'm mostly neutral on the change.  Are there any 
> specific
> reasons for the 
> change?

There 
are 
no 
specific 
reasons 
for 
the 
change. 
There 
is 
no 
way 
to
check 
these 
change. 
Сan 
ignore 
this 
commit.


> In practice, "crt" extension is used for PEM files 
> with
> certificates.  As such, changing "pem" and not changing 
> "crt"
> looks 
> wrong.
> 
> Further, PEM-format files, which use "pem" extension, 
> are
> certainly not just certificate chain files.  While PEM files 
> might
> indeed contain application/pem-certificate-chain data, as 
> defined
> in RFC 8555, that's certainly not the only 
> option.
> 
> Overall, I would rather refrain from the change unless there 
> are
> some better reasons than "because there is an 
> IANA-registered
> type".

Added 
additional 
information 
and 
links 
in 
commit. 
Also 
added 
an
additional 
commit.


> Any specific reasons for the 
> change?
> 
> While application/vnd.microsoft.portable-executable type might 
> be
> more correct based on the IANA 
> registration,
> application/octet-stream is expected to be at least equally 
> good
> from practical point of 
> view.

Updating 
current 
MIME 
types 
:)
In 
addition, 
application/octet-stream 
already 
has 
many 
different
extensions.


> Any specific reasons for the 
> change?

Added 
additional 
information 
and 
links 
in 
commit.
In 
addition 
application/vnd.debian.binary-package 
type 
is 
used 
on 
Debian
update 
servers.
Example:
$ 
curl 
--head 
https://ftp.debian.org/debian/pool/main/n/nginx/nginx_1.24.0-2+b2_amd64.deb 
2>1 
| 
grep 
'content-type:'
content-type: 
application/vnd.debian.binary-package

I 
still 
haven't 
received 
a 
response 
regarding 
extensions 
for 
Excel
and 
PowerPoint. 
Nevertheless, 
the 
proposed 
extension 
options 
are
used 
in 
Apache.


-- 
Best 
regards,
Lafiel
mailto:lafiel at elven.pw
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mime_types_02.patch
Type: text/x-diff
Size: 10269 bytes
Desc: not available
URL: <http://freenginx.org/pipermail/nginx-devel/attachments/20240326/a3894c3a/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/20240326/a3894c3a/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/20240326/a3894c3a/attachment.sig>


More information about the nginx-devel mailing list