Added response object-passing to default no-endpoint handler so that custom encoding, status codes, etc may be set.