{"action":"closed","issue":{"url":"https://api.github.com/repos/MikaAK/s3-plugin-webpack/issues/51","repository_url":"https://api.github.com/repos/MikaAK/s3-plugin-webpack","labels_url":"https://api.github.com/repos/MikaAK/s3-plugin-webpack/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/MikaAK/s3-plugin-webpack/issues/51/comments","events_url":"https://api.github.com/repos/MikaAK/s3-plugin-webpack/issues/51/events","html_url":"https://github.com/MikaAK/s3-plugin-webpack/issues/51","id":174447843,"number":51,"title":"Content-Type not being set correctly","user":{"login":"swaroopsm","id":898602,"avatar_url":"https://avatars.githubusercontent.com/u/898602?v=3","gravatar_id":"","url":"https://api.github.com/users/swaroopsm","html_url":"https://github.com/swaroopsm","followers_url":"https://api.github.com/users/swaroopsm/followers","following_url":"https://api.github.com/users/swaroopsm/following{/other_user}","gists_url":"https://api.github.com/users/swaroopsm/gists{/gist_id}","starred_url":"https://api.github.com/users/swaroopsm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swaroopsm/subscriptions","organizations_url":"https://api.github.com/users/swaroopsm/orgs","repos_url":"https://api.github.com/users/swaroopsm/repos","events_url":"https://api.github.com/users/swaroopsm/events{/privacy}","received_events_url":"https://api.github.com/users/swaroopsm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/MikaAK/s3-plugin-webpack/labels/need%20more%20info","name":"need more info","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-09-01T06:40:32Z","updated_at":"2016-09-27T15:08:08Z","closed_at":"2016-09-27T15:08:08Z","body":"I have set the `Content-Type` option as follows, but in my `S3` it is being set as: `application/x-www-form-urlencoded`\r\n\r\n```\r\nContentType: (fileName) => {\r\n          if (/\\.js/.test(fileName)) {\r\n            return 'application/javascript'\r\n          }\r\n\r\n          if (/\\.css/.test(fileName)) {\r\n            return 'text/css'\r\n          }\r\n}\r\n```\r\n\r\nEnvironment:\r\n- Node v4.4.7\r\n- s3-plugin-webpack v0.9.0\r\n- OSX 10.11.6 \r\n\r\nIs this an issue with the `s3` package itself?"}}
{"actor":{"display_login":"MikaAK"}}