* Preserve individual headers with the same name on responses
* Rename RequestHeadersDict to HTTPHeadersDict
* Update tests/utils/http_server.py
* Update tests/utils/http_server.py
* Update httpie/adapters.py
Co-authored-by: Jakub Roztocil <jakub@roztocil.co>
* Support multiple headers sharing the same name
* Apply suggestions
* Don't normalize HTTP header names
* apply visual suggestions
Co-authored-by: Jakub Roztocil <jakub@roztocil.co>
* bump down multidict to 4.7.0
Co-authored-by: Jakub Roztocil <jakub@roztocil.co>
* Support curl-like syntax for custom MIME type for files
In order to specify a custom MIME type for file uploads, a syntax
similar to that used by cURL is used so that
http -F test_file@/path/to/file.bin;type=application/zip https://...
forwards the user-provided file type if provided, otherwise falling
back to the usual guesswork out of the file extension.