         # For simplicity, this tutorial trivially deals with request
         # failures by just returning null from this function via the
         # callback.
-        callback(response)
+        callback(response, status)
       else
         if response? and response
-          return callback(response)
+          return callback(response, status)
         else
           return callback()
 

  @_NODES: {}
  @_NODES[@_ROOT_PATH] = null

  constructor: (@name, @path, @json_data) ->
    @children = null
    FeedlyNode._NODES[@path] = @

  @_initRootNode: =>
    @_ROOT_NODE ?= new RootFeedlyNode()

  @_getPathParts = (path) ->
    parts = path.split("/")
    #remove empty trailing element
    return parts.slice(0, parts.length - 1)  if parts[parts.length - 1] is ""
    return parts

  @_current = ->
    return Josh.config.pathhandler.current

  @_resolvePath: (path) =>
    parts = @_getPathParts(path)


        node: _self.pathhandler.current
      )

    ###
    # Wiring up PathHandler
    # =====================

