def response_httprepr(response):
    s = b"HTTP/1.1 " + to_bytes(str(response.status)) + b" " + \
        to_bytes(http.RESPONSES.get(response.status, b'')) + b"\r\n"
    if response.headers:
        s += response.headers.to_string() + b"\r\n"
    s += b"\r\n"
    s += response.body
    return s
Test a command by assigning all the needed
dataset/ETHPy150Open scrapy/scrapy/scrapy/utils/response.py/response_httprepr--crossover with--dataset/ETHPy150Open evennia/evennia/evennia/commands/default/tests.py/CommandTest.call