Home | History | Annotate | Download | only in addlhelp

Lines Matching refs:Content

24   GET requests are handled, including Content-Type, Cache-Control,
25 Content-Disposition, and Content-Encoding (discussed in more detail in
34 would cause gsutil to set the Content-Type and Cache-Control for each
37 gsutil -h "Content-Type:text/html" \\
49 <B>CONTENT TYPE</B>
50 The most commonly set metadata is Content-Type (also known as MIME type),
52 gsutil sets the Content-Type automatically at upload time, based on each
54 will set Content-Type to text/plain. If you're running gsutil on Linux or
55 MacOS and would prefer to have content type set based on naming plus content
61 If you specify a Content-Type header with -h when uploading content (like the
63 Content-Type that would have been set based on filename extension or content.
64 This can be useful if the Content-Type detection algorithm doesn't work as
67 You can also completely suppress content type detection in gsutil, by
68 specifying an empty string on the Content-Type header:
70 gsutil -h 'Content-Type:' cp -r images gs://bucket/images
73 the content type. In general this approach will work better than using
74 filename extension-based content detection in gsutil, because the list of
75 filename extensions is kept more current in the server-side content detection
76 system than in the Python library upon which gsutil content type detection
78 ".webp" was recognized by the server-side content detection system, but
108 which instructs Google Cloud Storage to not apply any content transformations
110 content-encoding for incompatible clients. Note that this parameter is only
118 <B>CONTENT-ENCODING</B>
119 You can specify a Content-Encoding to indicate that an object is compressed
120 (for example, with gzip compression) while maintaining its Content-Type.
122 specified Content-Encoding before using gsutil to upload them. Consider the
126 gsutil -h "Content-Encoding:gzip" -h "Content-Type:text/plain" \\
130 Content-Type: application/x-gzip because most browsers are able to
131 dynamically decompress and process objects served with Content-Encoding: gzip
132 based on the underlying Content-Type.
134 For compressible content, using Content-Encoding: gzip saves network and
135 storage costs, and improves content serving performance. However, for content
137 instance) applying another level of compression via Content-Encoding is
141 Note also that gsutil provides an easy way to cause content to be compressed
142 and stored with Content-Encoding: gzip: see the -z option in "gsutil help cp".
145 <B>CONTENT-DISPOSITION</B>
146 You can set Content-Disposition on your objects, to specify presentation
149 gsutil -h 'Content-Disposition:attachment; filename=filename.ext' \\
152 Setting the Content-Disposition allows you to control presentation style
153 of the content, for example determining whether an attachment should be
156 for more details about the meaning of Content-Disposition.
169 You can't set some metadata fields, such as ETag and Content-Length. The
173 - Content-Disposition
174 - Content-Encoding
175 - Content-Language
176 - Content-MD5
177 - Content-Type
201 'cache-control', 'caching', 'content type', 'mime type', 'mime',