def test_verbose_redirected_stdout_separator(httpbin):
    """

    <https://github.com/httpie/cli/issues/1006>
    """
    r = http(
        '-v',
        httpbin + '/post',
        'a=b',
        env=MockEnvironment(stdout_isatty=False),
    )
    assert '}HTTP/' not in r
    assert_output_matches(r, [
        Expect.REQUEST_HEADERS,
        Expect.BODY,
        Expect.SEPARATOR,
        Expect.RESPONSE_HEADERS,
        Expect.BODY,
    ])


    <https://github.com/httpie/cli/issues/1006>
    
tests/test_regressions.py