{"action":"created","issue":{"url":"https://api.github.com/repos/googleapis/google-cloud-go/issues/1511","repository_url":"https://api.github.com/repos/googleapis/google-cloud-go","labels_url":"https://api.github.com/repos/googleapis/google-cloud-go/issues/1511/labels{/name}","comments_url":"https://api.github.com/repos/googleapis/google-cloud-go/issues/1511/comments","events_url":"https://api.github.com/repos/googleapis/google-cloud-go/issues/1511/events","html_url":"https://github.com/googleapis/google-cloud-go/issues/1511","id":469650807,"node_id":"MDU6SXNzdWU0Njk2NTA4MDc=","number":1511,"title":"My headers are overwrite by Go SDK or Storage service","user":{"login":"muratsplat","id":10140081,"node_id":"MDQ6VXNlcjEwMTQwMDgx","avatar_url":"https://avatars0.githubusercontent.com/u/10140081?v=4","gravatar_id":"","url":"https://api.github.com/users/muratsplat","html_url":"https://github.com/muratsplat","followers_url":"https://api.github.com/users/muratsplat/followers","following_url":"https://api.github.com/users/muratsplat/following{/other_user}","gists_url":"https://api.github.com/users/muratsplat/gists{/gist_id}","starred_url":"https://api.github.com/users/muratsplat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muratsplat/subscriptions","organizations_url":"https://api.github.com/users/muratsplat/orgs","repos_url":"https://api.github.com/users/muratsplat/repos","events_url":"https://api.github.com/users/muratsplat/events{/privacy}","received_events_url":"https://api.github.com/users/muratsplat/received_events","type":"User","site_admin":false},"labels":[{"id":217652942,"node_id":"MDU6TGFiZWwyMTc2NTI5NDI=","url":"https://api.github.com/repos/googleapis/google-cloud-go/labels/api:%20storage","name":"api: storage","color":"f8f8f8","default":false},{"id":98312223,"node_id":"MDU6TGFiZWw5ODMxMjIyMw==","url":"https://api.github.com/repos/googleapis/google-cloud-go/labels/type:%20question","name":"type: question","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-07-18T08:59:47Z","updated_at":"2019-07-18T14:39:31Z","closed_at":null,"author_association":"NONE","body":"## Client\r\nGo sdk -> cloud.google.com/go v0.41.0 \r\nand  I use Storage service.\r\n\r\n## Describe Your Environment\r\n Debian on GCP K8s Engine\r\n## Expected Behavior\r\nI want to add follow Header to be download able by any web browser for regarding object.\r\n```go\r\n\tsignedURL, err := storage.SignedURL(file.BucketTempBlobVideo, tmpFileName, &storage.SignedURLOptions{\r\n\t\t// TODO: move it to the env\r\n\t\tGoogleAccessID: GCPAccount,\r\n\t\tPrivateKey:     readCredential(),\r\n\t\tMethod:         \"GET\",\r\n\t\tExpires:        expiresAt,\r\n\t\tHeaders: []string{\r\n\t\t\t\"Content-Disposition: inline\",\r\n\t\t\t\"Content-Disposition: attachment\",\r\n\t\t\tfmt.Sprintf(\"Content-Disposition: attachment; filename=\\\"%s\\\"\", tmpFileName),\r\n\t\t},\r\n\t})\r\n```\r\n## Actual Behavior\r\n\r\nBut my headers fields are overwrite by GCP Storage like that\r\nthis is the result of `curl -v https://storage.googleapis.com/bla/bala/foo.mp4`\r\n```\r\n* Connection state changed (MAX_CONCURRENT_STREAMS updated)!\r\n< HTTP/2 200\r\n< x-guploader-uploadid: AEnB2UphcEqdN92EHyvLdNlGUQPc6MKxg2obPdlCS-SK25tpwEJ007_d697VN-uAususISbP65l5lU4TGD9cLK_AuSTxoBs1uw\r\n< expires: Thu, 18 Jul 2019 08:24:03 GMT\r\n< date: Thu, 18 Jul 2019 08:24:03 GMT\r\n< cache-control: private, max-age=0\r\n< last-modified: Thu, 18 Jul 2019 08:20:52 GMT\r\n< etag: \"54ae4dcd870a1c2653309f41fb61842b\"\r\n< x-goog-generation: 1563438052792850\r\n< x-goog-metageneration: 1\r\n< x-goog-stored-content-encoding: identity\r\n< x-goog-stored-content-length: 1407113503\r\n< content-type: video/mp4\r\n< x-goog-hash: crc32c=sVmYIA==\r\n< x-goog-hash: md5=VK5NzYcKHCZTMJ9B+2GEKw==\r\n< x-goog-storage-class: REGIONAL\r\n< accept-ranges: bytes\r\n< content-length: 1407113503\r\n< server: UploadServer\r\n< alt-svc: quic=\":443\"; ma=2592000; v=\"46,43,39\"\r\n```\r\nwhere is the my headers in the response of  GCP signURL ?"},"comment":{"url":"https://api.github.com/repos/googleapis/google-cloud-go/issues/comments/512844466","html_url":"https://github.com/googleapis/google-cloud-go/issues/1511#issuecomment-512844466","issue_url":"https://api.github.com/repos/googleapis/google-cloud-go/issues/1511","id":512844466,"node_id":"MDEyOklzc3VlQ29tbWVudDUxMjg0NDQ2Ng==","user":{"login":"jadekler","id":3584893,"node_id":"MDQ6VXNlcjM1ODQ4OTM=","avatar_url":"https://avatars3.githubusercontent.com/u/3584893?v=4","gravatar_id":"","url":"https://api.github.com/users/jadekler","html_url":"https://github.com/jadekler","followers_url":"https://api.github.com/users/jadekler/followers","following_url":"https://api.github.com/users/jadekler/following{/other_user}","gists_url":"https://api.github.com/users/jadekler/gists{/gist_id}","starred_url":"https://api.github.com/users/jadekler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jadekler/subscriptions","organizations_url":"https://api.github.com/users/jadekler/orgs","repos_url":"https://api.github.com/users/jadekler/repos","events_url":"https://api.github.com/users/jadekler/events{/privacy}","received_events_url":"https://api.github.com/users/jadekler/received_events","type":"User","site_admin":false},"created_at":"2019-07-18T14:39:31Z","updated_at":"2019-07-18T14:39:31Z","author_association":"MEMBER","body":"cc @frankyn @odeke-em I think this is intentional, but y'all would know better."}}
{"actor":{"display_login":"jadekler"}}