     title = title ? ''
     type = type ? mime.lookup(file)
     encoded = fs.readFileSync(file).toString('base64')
-    # params
     method = 'post'
     path = '/atom/post'
     body = entry:

        params.body = body if body?
        @_requestPromise params
      .then (res) =>
        @_toJson res.body
      .then (json) ->
        callback(null, json)

          xmlns: 'http://purl.org/atom/ns#'
        title:
          _: title
    statusCode = 200
    @_request { method, path, body, statusCode }, callback

  # DELETE EditURI (/atom/edit/XXXXXXXXXXXXXX)
  # params:
