diff options
author | Péter Dimitrov <[email protected]> | 2018-10-02 17:03:00 +0200 |
---|---|---|
committer | Péter Dimitrov <[email protected]> | 2018-10-02 17:03:00 +0200 |
commit | d95cfc3b4a8ea1bbd8ad6c90f1e00b0150a87d7e (patch) | |
tree | b030571c4a5579d24b3d9fec4ca10a9df3eaae72 /lib/inets/test/httpd_poll.erl | |
parent | 0edd7ee4d575656f6da6558e40d6993f41a4be38 (diff) | |
download | otp-d95cfc3b4a8ea1bbd8ad6c90f1e00b0150a87d7e.tar.gz otp-d95cfc3b4a8ea1bbd8ad6c90f1e00b0150a87d7e.tar.bz2 otp-d95cfc3b4a8ea1bbd8ad6c90f1e00b0150a87d7e.zip |
inets: Fix handling of 'Content-Type' (httpc)
'Content-Type' is sent when it is explicitly set as a header or
there is a non-empty body in the request.
Former implementation dropped the explicit 'Content-Type' when
the request had an empty body.
Change-Id: I00a9e4a5011f9d28c04c0dfc5fe1561b1ab7eb09
Diffstat (limited to 'lib/inets/test/httpd_poll.erl')
0 files changed, 0 insertions, 0 deletions