{"issue":{"state":"closed","pull_request":{"diff_url":"https://github.com/substack/node-put/pull/4.diff","html_url":"https://github.com/substack/node-put/pull/4","patch_url":"https://github.com/substack/node-put/pull/4.patch"},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/df49e0797062ea1de4bf5379b6b48b89?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"df49e0797062ea1de4bf5379b6b48b89","url":"https://api.github.com/users/justmoon","login":"justmoon","id":53233},"assignee":null,"updated_at":"2011-11-15T11:17:54Z","labels":[],"comments":2,"closed_at":"2011-11-15T11:16:34Z","url":"https://api.github.com/repos/substack/node-put/issues/4","body":"I have a use case currently, where variable length data is written using node-put and I need to keep track of my current position, i.e. how many bytes I have written so far. I can of course track that myself, but since node-put is already calculating the length, it would be very convenient to be able to just retrieve it.\r\n\r\nThis patch adds a function called len() that returns the current length of the data to be written.","html_url":"https://github.com/substack/node-put/issues/4","title":"Add method to retrieve current length","number":4,"id":2119083,"created_at":"2011-11-02T08:30:44Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/df49e0797062ea1de4bf5379b6b48b89?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"df49e0797062ea1de4bf5379b6b48b89","url":"https://api.github.com/users/justmoon","login":"justmoon","id":53233},"updated_at":"2011-11-15T11:17:54Z","url":"https://api.github.com/repos/substack/node-put/issues/comments/2743540","body":"Cool, thanks man!","id":2743540,"created_at":"2011-11-15T11:17:54Z"}}