def METHOD_NAME(date_to_sec_epoch, sec_epoch):
    client.load('variables')
    body = 'Test body string.'
    resp = client.post(
        headers={
            'Host': 'localhost',
            'Content-Type': 'text/html',
            'Custom-Header': 'blah',
            'Connection': 'close',
        },
        body=body,
    )
    assert resp['status'] == 200, 'status'
    headers = resp['headers']
    header_server = headers.pop('Server')
    assert re.search(r'Unit/[\d\.]+', header_server), 'server header'
    date = headers.pop('Date')
    assert date[-4:] == ' GMT', 'date header timezone'
    assert abs(date_to_sec_epoch(date) - sec_epoch) < 5, 'date header'
    assert headers == {
        'Content-Length': str(len(body)),
        'Content-Type': 'text/html',
        'Request-Method': 'POST',
        'Request-Uri': '/',
        'Http-Host': 'localhost',
        'Server-Protocol': 'HTTP/1.1',
        'Server-Protocol-Major': '1',
        'Server-Protocol-Minor': '1',
        'Custom-Header': 'blah',
        'Connection': 'close',
    }, 'headers'
    assert resp['body'] == body, 'body'