File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed
source/reference/minio-mc Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -46,9 +46,10 @@ documentation on :aws-docs:`Pre-Signed URLs
4646 .. code-block :: shell
4747 :class: copyable
4848
49- mc [GLOBALFLAGS] share upload \
50- [--expire " string" ] \
51- [--recursive] \
49+ mc [GLOBALFLAGS] share upload \
50+ [--content-type " string" ] \
51+ [--expire " string" ] \
52+ [--recursive] \
5253 ALIAS
5354
5455 .. include :: /includes/common-minio-mc.rst
@@ -84,6 +85,18 @@ Parameters
8485
8586 mc share upload --recursive play/mybucket/myprefix/
8687
88+ .. mc-cmd :: --content-type, T
89+
90+ *Optional * Restrict uploads to only requests with a specific `Content-Type <https://www.w3.org/Protocols/rfc1341/4_Content-Type.html >`__ header.
91+
92+ Specify a string with the desired ``Content-Type `` value to accept.
93+ For example, ``video/mp4 ``.
94+
95+ If configured, clients using the generated URL must include a ``Content-Type `` header for the specified type.
96+ MinIO rejects requests that do not have the correct ``Content-Type `` header.
97+
98+ Content types are also known as `media types <https://www.iana.org/assignments/media-types/media-types.xhtml >`__.
99+
87100.. mc-cmd :: --expire, E
88101
89102
You can’t perform that action at this time.
0 commit comments