It looks like this actually returns a tuple of three items, where the first item is the encoded response. I'm not sure what the other two items are - care to elaborate here and in other places where this three-tuple is returned?