human
I wrote the below code

    def _CreateResponse(request):
        print request
        return httpclient.HTTPResponse(request, 401, headers={'Content-Type': 'application/json'}, buffer=None)
    mock_client.map(url, _CreateResponse)

What's a good function header?

=====
What is a Python code to print request?
assistant
#Here is Python code to print request
.

def _AddMockJSONResponseError(mock_client, url):