diff options
author | Péter Dimitrov <[email protected]> | 2018-04-06 12:02:20 +0200 |
---|---|---|
committer | Péter Dimitrov <[email protected]> | 2018-04-06 12:02:20 +0200 |
commit | fd2af907bc854e5dc92fbd71efdab096be572573 (patch) | |
tree | f7e0ef1181fefbabdc84d63ad2b8af26a3497ccc /erts/lib_src | |
parent | a5dc5af3fe3b1e25f0596d71d3ac36291b0099dc (diff) | |
download | otp-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 'erts/lib_src')
0 files changed, 0 insertions, 0 deletions