import requests


def test_get_does_not_send_content_length_by_default():
    req = requests.Request('GET', 'http://example.com')
    prepared = req.prepare()
    assert 'Content-Length' not in prepared.headers, (
        "GET requests should not send Content-Length by default, got %r"
        % (prepared.headers.get('Content-Length'),)
    )
