aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/test/http_test_lib.erl
diff options
context:
space:
mode:
authorPéter Dimitrov <[email protected]>2018-04-06 12:02:20 +0200
committerPéter Dimitrov <[email protected]>2018-04-06 12:02:20 +0200
commitfd2af907bc854e5dc92fbd71efdab096be572573 (patch)
treef7e0ef1181fefbabdc84d63ad2b8af26a3497ccc /lib/inets/test/http_test_lib.erl
parenta5dc5af3fe3b1e25f0596d71d3ac36291b0099dc (diff)
downloadotp-fd2af907bc854e5dc92fbd71efdab096be572573.tar.gz
otp-fd2af907bc854e5dc92fbd71efdab096be572573.tar.bz2
otp-fd2af907bc854e5dc92fbd71efdab096be572573.zip
inets: Fix broken handling of header Content-Type
Strict REST APIs does not accept HTTP requests that have no body but still include a 'Content-Type' header. RFC7231 does not forbid this corner case but as it causes interoperatbility problems in client software we opt to not send the 'Content-Type' header when the body is not present. Change-Id: I36c43225fd156fb1b651037fcbe69b448665ec23
Diffstat (limited to 'lib/inets/test/http_test_lib.erl')
0 files changed, 0 insertions, 0 deletions