{"action":"created","issue":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-android/issues/327","labels_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/issues/327/labels{/name}","comments_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/issues/327/comments","events_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/issues/327/events","html_url":"https://github.com/couchbase/couchbase-lite-android/issues/327","id":35232304,"number":327,"title":"Pull-replicated attachments secretly gzipped without API support? (CouchDB)","user":{"login":"hinesmr","id":966394,"avatar_url":"https://avatars.githubusercontent.com/u/966394?v=3","gravatar_id":"","url":"https://api.github.com/users/hinesmr","html_url":"https://github.com/hinesmr","followers_url":"https://api.github.com/users/hinesmr/followers","following_url":"https://api.github.com/users/hinesmr/following{/other_user}","gists_url":"https://api.github.com/users/hinesmr/gists{/gist_id}","starred_url":"https://api.github.com/users/hinesmr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hinesmr/subscriptions","organizations_url":"https://api.github.com/users/hinesmr/orgs","repos_url":"https://api.github.com/users/hinesmr/repos","events_url":"https://api.github.com/users/hinesmr/events{/privacy}","received_events_url":"https://api.github.com/users/hinesmr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/couchbase/couchbase-lite-android/labels/parity","name":"parity","color":"bfdadc"},{"url":"https://api.github.com/repos/couchbase/couchbase-lite-android/labels/S3:%20major","name":"S3: major","color":"fbca04"},{"url":"https://api.github.com/repos/couchbase/couchbase-lite-android/labels/testneeded","name":"testneeded","color":"5319e7"},{"url":"https://api.github.com/repos/couchbase/couchbase-lite-android/labels/waffle:in%20progress","name":"waffle:in progress","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"hideki","id":15889,"avatar_url":"https://avatars.githubusercontent.com/u/15889?v=3","gravatar_id":"","url":"https://api.github.com/users/hideki","html_url":"https://github.com/hideki","followers_url":"https://api.github.com/users/hideki/followers","following_url":"https://api.github.com/users/hideki/following{/other_user}","gists_url":"https://api.github.com/users/hideki/gists{/gist_id}","starred_url":"https://api.github.com/users/hideki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hideki/subscriptions","organizations_url":"https://api.github.com/users/hideki/orgs","repos_url":"https://api.github.com/users/hideki/repos","events_url":"https://api.github.com/users/hideki/events{/privacy}","received_events_url":"https://api.github.com/users/hideki/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-android/milestones/8","labels_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/milestones/8/labels","id":634082,"number":8,"title":"1.0.4","description":"Includes 1.0.4 features\r\n\r\n* Add Websocket support for parity\r\n* Add Gzip support for parity","creator":{"login":"jessliu","id":4998909,"avatar_url":"https://avatars.githubusercontent.com/u/4998909?v=3","gravatar_id":"","url":"https://api.github.com/users/jessliu","html_url":"https://github.com/jessliu","followers_url":"https://api.github.com/users/jessliu/followers","following_url":"https://api.github.com/users/jessliu/following{/other_user}","gists_url":"https://api.github.com/users/jessliu/gists{/gist_id}","starred_url":"https://api.github.com/users/jessliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessliu/subscriptions","organizations_url":"https://api.github.com/users/jessliu/orgs","repos_url":"https://api.github.com/users/jessliu/repos","events_url":"https://api.github.com/users/jessliu/events{/privacy}","received_events_url":"https://api.github.com/users/jessliu/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":6,"state":"open","created_at":"2014-04-18T18:06:59Z","updated_at":"2015-02-17T06:04:43Z","due_on":null,"closed_at":null},"comments":36,"created_at":"2014-06-08T09:34:17Z","updated_at":"2015-02-18T01:45:51Z","closed_at":"2015-02-17T06:04:43Z","body":"There are two nasty bugs so far (as of the Jenkins verison 396):\r\n\r\n1. The API call revision.getAttachment(filename).getGZipped() returns false when actually the document is compressed! Yikes =(\r\n2. Content-type sent to the browser using a Listener says (\"text/plain\"), when in reality the content is gzipped! Ouch! =(\r\n\r\nSteps to reproduce:\r\n\r\n1. Start a pull-replication from a couchdb server with some attachments.\r\n2. Try to retrieve the attachments via either the API or the Listener and you'll get a compressed attachment with no indication that it was actually compresed via getGZipped() or content-type."},"comment":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-android/issues/comments/74795595","html_url":"https://github.com/couchbase/couchbase-lite-android/issues/327#issuecomment-74795595","issue_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/issues/327","id":74795595,"user":{"login":"hinesmr","id":966394,"avatar_url":"https://avatars.githubusercontent.com/u/966394?v=3","gravatar_id":"","url":"https://api.github.com/users/hinesmr","html_url":"https://github.com/hinesmr","followers_url":"https://api.github.com/users/hinesmr/followers","following_url":"https://api.github.com/users/hinesmr/following{/other_user}","gists_url":"https://api.github.com/users/hinesmr/gists{/gist_id}","starred_url":"https://api.github.com/users/hinesmr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hinesmr/subscriptions","organizations_url":"https://api.github.com/users/hinesmr/orgs","repos_url":"https://api.github.com/users/hinesmr/repos","events_url":"https://api.github.com/users/hinesmr/events{/privacy}","received_events_url":"https://api.github.com/users/hinesmr/received_events","type":"User","site_admin":false},"created_at":"2015-02-18T01:45:51Z","updated_at":"2015-02-18T01:45:51Z","body":"Oh----- added a month ago. That's great. I don't have the test environment right now in front of me ----- can I wait for the community release in the future so I can test with my app?"}}