{"action":"created","issue":{"url":"https://api.github.com/repos/gae-init/gae-init/issues/426","labels_url":"https://api.github.com/repos/gae-init/gae-init/issues/426/labels{/name}","comments_url":"https://api.github.com/repos/gae-init/gae-init/issues/426/comments","events_url":"https://api.github.com/repos/gae-init/gae-init/issues/426/events","html_url":"https://github.com/gae-init/gae-init/issues/426","id":112039401,"number":426,"title":"CSS is served with application/octet-stream mime type","user":{"login":"nazroll","id":33108,"avatar_url":"https://avatars.githubusercontent.com/u/33108?v=3","gravatar_id":"","url":"https://api.github.com/users/nazroll","html_url":"https://github.com/nazroll","followers_url":"https://api.github.com/users/nazroll/followers","following_url":"https://api.github.com/users/nazroll/following{/other_user}","gists_url":"https://api.github.com/users/nazroll/gists{/gist_id}","starred_url":"https://api.github.com/users/nazroll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nazroll/subscriptions","organizations_url":"https://api.github.com/users/nazroll/orgs","repos_url":"https://api.github.com/users/nazroll/repos","events_url":"https://api.github.com/users/nazroll/events{/privacy}","received_events_url":"https://api.github.com/users/nazroll/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-18T20:30:08Z","updated_at":"2015-11-04T23:27:00Z","closed_at":"2015-11-04T23:27:00Z","body":"The recent update to Google App Engine has a significant, but small change.\r\n\r\nI observed that static files is now uploaded to a staging environment as a Google Cloud Storage bucket when deployed to Google Cloud. \r\n\r\nWith this small change, CSS is unexpectedly served as ```application/octet-stream``` mime type.\r\n\r\nI tried a fix by duplicating a set of rules from ```app.yaml```, making it specific and properly assigned to the right mime type. In this example: ```text/css```\r\n```\r\n- url: /p/(.*\\.css)\r\n  static_files: static/\\1\r\n  upload: static/(.*\\.css)\r\n  mime_type: text/css\r\n  expiration: 1000d\r\n```\r\n\r\nDeploy.\r\nIt worked. CSS is not serving with the correct mime type."},"comment":{"url":"https://api.github.com/repos/gae-init/gae-init/issues/comments/153903241","html_url":"https://github.com/gae-init/gae-init/issues/426#issuecomment-153903241","issue_url":"https://api.github.com/repos/gae-init/gae-init/issues/426","id":153903241,"user":{"login":"lipis","id":125676,"avatar_url":"https://avatars.githubusercontent.com/u/125676?v=3","gravatar_id":"","url":"https://api.github.com/users/lipis","html_url":"https://github.com/lipis","followers_url":"https://api.github.com/users/lipis/followers","following_url":"https://api.github.com/users/lipis/following{/other_user}","gists_url":"https://api.github.com/users/lipis/gists{/gist_id}","starred_url":"https://api.github.com/users/lipis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lipis/subscriptions","organizations_url":"https://api.github.com/users/lipis/orgs","repos_url":"https://api.github.com/users/lipis/repos","events_url":"https://api.github.com/users/lipis/events{/privacy}","received_events_url":"https://api.github.com/users/lipis/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T23:27:00Z","updated_at":"2015-11-04T23:27:00Z","body":"Not sure if it was just that version.. but in a few latest deployments the mime type is correct for CSS.. so I'm closing this one."}}