{"action":"created","issue":{"url":"https://api.github.com/repos/marklogic/node-client-api/issues/160","labels_url":"https://api.github.com/repos/marklogic/node-client-api/issues/160/labels{/name}","comments_url":"https://api.github.com/repos/marklogic/node-client-api/issues/160/comments","events_url":"https://api.github.com/repos/marklogic/node-client-api/issues/160/events","html_url":"https://github.com/marklogic/node-client-api/issues/160","id":65408892,"number":160,"title":"Read binary chunk is failing in Windows environment","user":{"login":"MayankBhatnagar89","id":7920872,"avatar_url":"https://avatars.githubusercontent.com/u/7920872?v=3","gravatar_id":"","url":"https://api.github.com/users/MayankBhatnagar89","html_url":"https://github.com/MayankBhatnagar89","followers_url":"https://api.github.com/users/MayankBhatnagar89/followers","following_url":"https://api.github.com/users/MayankBhatnagar89/following{/other_user}","gists_url":"https://api.github.com/users/MayankBhatnagar89/gists{/gist_id}","starred_url":"https://api.github.com/users/MayankBhatnagar89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MayankBhatnagar89/subscriptions","organizations_url":"https://api.github.com/users/MayankBhatnagar89/orgs","repos_url":"https://api.github.com/users/MayankBhatnagar89/repos","events_url":"https://api.github.com/users/MayankBhatnagar89/events{/privacy}","received_events_url":"https://api.github.com/users/MayankBhatnagar89/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/marklogic/node-client-api/labels/Bug","name":"Bug","color":"fc2929"},{"url":"https://api.github.com/repos/marklogic/node-client-api/labels/major","name":"major","color":"fbca04"},{"url":"https://api.github.com/repos/marklogic/node-client-api/labels/verify","name":"verify","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"MayankBhatnagar89","id":7920872,"avatar_url":"https://avatars.githubusercontent.com/u/7920872?v=3","gravatar_id":"","url":"https://api.github.com/users/MayankBhatnagar89","html_url":"https://github.com/MayankBhatnagar89","followers_url":"https://api.github.com/users/MayankBhatnagar89/followers","following_url":"https://api.github.com/users/MayankBhatnagar89/following{/other_user}","gists_url":"https://api.github.com/users/MayankBhatnagar89/gists{/gist_id}","starred_url":"https://api.github.com/users/MayankBhatnagar89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MayankBhatnagar89/subscriptions","organizations_url":"https://api.github.com/users/MayankBhatnagar89/orgs","repos_url":"https://api.github.com/users/MayankBhatnagar89/repos","events_url":"https://api.github.com/users/MayankBhatnagar89/events{/privacy}","received_events_url":"https://api.github.com/users/MayankBhatnagar89/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/marklogic/node-client-api/milestones/4","html_url":"https://github.com/marklogic/node-client-api/milestones/8.0-2","labels_url":"https://api.github.com/repos/marklogic/node-client-api/milestones/4/labels","id":934497,"number":4,"title":"8.0-2","description":"Fixes targeted for the 8.0-2 release","creator":{"login":"ndw","id":36793,"avatar_url":"https://avatars.githubusercontent.com/u/36793?v=3","gravatar_id":"","url":"https://api.github.com/users/ndw","html_url":"https://github.com/ndw","followers_url":"https://api.github.com/users/ndw/followers","following_url":"https://api.github.com/users/ndw/following{/other_user}","gists_url":"https://api.github.com/users/ndw/gists{/gist_id}","starred_url":"https://api.github.com/users/ndw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndw/subscriptions","organizations_url":"https://api.github.com/users/ndw/orgs","repos_url":"https://api.github.com/users/ndw/repos","events_url":"https://api.github.com/users/ndw/events{/privacy}","received_events_url":"https://api.github.com/users/ndw/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":26,"state":"open","created_at":"2015-01-14T03:11:05Z","updated_at":"2015-03-31T09:35:57Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-03-31T09:33:53Z","updated_at":"2015-03-31T16:15:49Z","closed_at":null,"body":"Build : 8.0-20150330\r\n\r\nCode snippet : \r\n************************************************\r\n  it('should read the binary in chunk', function(done){\r\n    this.timeout(10000);\r\n    var uri = '/test/write/somePdfFile.pdf';\r\n    dbReader.documents.read(uri).stream('chunked').\r\n    on('data', function(data) {\r\n      var strData = data.toString();\r\n      strData.should.containEql('CVISION Technologies');\r\n      }).\r\n    on('end', function() {\r\n      done();\r\n    }, done);   \r\n  });\r\n************************************************\r\n\r\nThe output can be checked on below mentioned uri : https://regression-status.marklogic.com/new-app/space2/diff-archive/genesis/b8_0/2015-03-30/winnt-64-w7genesis/diffs/Binary_documents_test_-1110242714.xml \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/marklogic/node-client-api/issues/comments/88150331","html_url":"https://github.com/marklogic/node-client-api/issues/160#issuecomment-88150331","issue_url":"https://api.github.com/repos/marklogic/node-client-api/issues/160","id":88150331,"user":{"login":"ehennum","id":1170070,"avatar_url":"https://avatars.githubusercontent.com/u/1170070?v=3","gravatar_id":"","url":"https://api.github.com/users/ehennum","html_url":"https://github.com/ehennum","followers_url":"https://api.github.com/users/ehennum/followers","following_url":"https://api.github.com/users/ehennum/following{/other_user}","gists_url":"https://api.github.com/users/ehennum/gists{/gist_id}","starred_url":"https://api.github.com/users/ehennum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehennum/subscriptions","organizations_url":"https://api.github.com/users/ehennum/orgs","repos_url":"https://api.github.com/users/ehennum/repos","events_url":"https://api.github.com/users/ehennum/events{/privacy}","received_events_url":"https://api.github.com/users/ehennum/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T16:15:49Z","updated_at":"2015-03-31T16:15:49Z","body":"Is the server on Windows or just the Node.js client?"}}