• Łukasz Nowak's avatar
    caddy-frontend/test: Workaround requests issue with Accept-Encoding · 28b1abe9
    Łukasz Nowak authored
    requests set Accept-Encoding header, but in the testr environment we
    want to have full control over its behaviour, thus not setting any header if
    not really wanted.
    
    As there is not known way to avoid setting the header (skip_accept_encoding is
    internal to httplib) set dummy Accept-Encoding header, which is enough for our
    environment.
    28b1abe9
test.py 131 KB