human
I wrote the below code

    headers = dict((headers or {}))
    headers['Content-Type'] = 'application/json'
    def json_cmp(response_body, body):
        return body_cmp(json.loads(response_body.decode('utf-8')), body)
    assert_response(response, status_code, body, headers, json_cmp)

What's a good function header?

=====
Here's a good function header?
assistant
#Here's a good function header.

def assert_json_response(response, status_code, body, headers=None, body_cmp=operator.eq):