{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/issues/266","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/issues/266/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/issues/266/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/issues/266/events","html_url":"https://github.com/GoogleCloudPlatform/gsutil/issues/266","id":69199232,"number":266,"title":"setmeta -h \"<string with space>\" doesn't work","user":{"login":"haraldschilly","id":207405,"avatar_url":"https://avatars.githubusercontent.com/u/207405?v=3","gravatar_id":"","url":"https://api.github.com/users/haraldschilly","html_url":"https://github.com/haraldschilly","followers_url":"https://api.github.com/users/haraldschilly/followers","following_url":"https://api.github.com/users/haraldschilly/following{/other_user}","gists_url":"https://api.github.com/users/haraldschilly/gists{/gist_id}","starred_url":"https://api.github.com/users/haraldschilly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haraldschilly/subscriptions","organizations_url":"https://api.github.com/users/haraldschilly/orgs","repos_url":"https://api.github.com/users/haraldschilly/repos","events_url":"https://api.github.com/users/haraldschilly/events{/privacy}","received_events_url":"https://api.github.com/users/haraldschilly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-17T19:13:33Z","updated_at":"2015-04-17T20:16:25Z","closed_at":null,"body":"I'm using a GCE ubuntu 14.10 box, created yesterday, and running gsutil as it comes from GCE. \r\n\r\nTurns out, this doesn't work:\r\n\r\n    gsutil setmeta -h \"Cache-Control:public, max-age=600\" gs://<bucket>/**\r\n\r\nError:\r\n\r\n    CommandException: No URLs matched: max-age=600\r\n\r\nWhich suggests to me that the space between \"...public, max-age...\" in the quotes for setting the header is not properly quoted when going through the argument parser of that python script in the background.\r\nWithout the space, it works.\r\n\r\nYour [documentation](https://cloud.google.com/storage/docs/gsutil/commands/setmeta) indeed mentions \r\n\r\n    -h \"Cache-Control:public, max-age=3600\"\r\n\r\nexplicitly, so I am pretty sure I'm using it correctly ;-)\r\n"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/issues/comments/94065979","html_url":"https://github.com/GoogleCloudPlatform/gsutil/issues/266#issuecomment-94065979","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/issues/266","id":94065979,"user":{"login":"thobrla","id":3239120,"avatar_url":"https://avatars.githubusercontent.com/u/3239120?v=3","gravatar_id":"","url":"https://api.github.com/users/thobrla","html_url":"https://github.com/thobrla","followers_url":"https://api.github.com/users/thobrla/followers","following_url":"https://api.github.com/users/thobrla/following{/other_user}","gists_url":"https://api.github.com/users/thobrla/gists{/gist_id}","starred_url":"https://api.github.com/users/thobrla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thobrla/subscriptions","organizations_url":"https://api.github.com/users/thobrla/orgs","repos_url":"https://api.github.com/users/thobrla/repos","events_url":"https://api.github.com/users/thobrla/events{/privacy}","received_events_url":"https://api.github.com/users/thobrla/received_events","type":"User","site_admin":false},"created_at":"2015-04-17T20:16:25Z","updated_at":"2015-04-17T20:16:25Z","body":"Hello,\r\n\r\nCan you add the output of \"gsutil version -l\" to this issue?  I tried this with the current version (4.11) and could not reproduce the issue, which leads me to believe this is a problem with an older version of gsutil.\r\n"}}