Call me a cynic, but can we just have one standard way of doing this sort of thing across all platforms? With (R|J)ack, we return a list/tuple of [response code, headers, iterable], and in WSGI compatible things, we call function(response code, headers) and return the data. Almost exactly the same, but completely different.