commit | 5318c7da7609a78c39d0dce85b75ba2a83451159 | [log] [tgz] |
---|---|---|
author | Klaus Weidner <klausw@chromium.org> | Thu May 23 18:04:06 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu May 23 18:04:06 2019 |
tree | 92ef3dfb7aa387163ece7917b020d077ec405d17 | |
parent | b1e5f6ca8c5972b8ea87ce76a587d37057bd0f43 [diff] |
update_bucket: detect and fix content-type mismatch gsutil uses Python "mimetypes" to map file suffixes to Content-Type, and this uses local configuration and/or registry settings on Windows. Check that the mapping appears correct, and fix types if a mismatch is found. Also adds a type check for the --force-destination-cr-position to enforce that it's numeric only (no 'r' prefix). Change-Id: Ib4f8a6824e2e339dd309670169143345557cc832 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1627215 Commit-Queue: Klaus Weidner <klausw@chromium.org> Commit-Queue: Bill Orr <billorr@chromium.org> Auto-Submit: Klaus Weidner <klausw@chromium.org> Reviewed-by: Bill Orr <billorr@chromium.org> Cr-Commit-Position: refs/heads/master@{#662722}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .