user-docs icon indicating copy to clipboard operation
user-docs copied to clipboard

fix: content-length header for broker token provision/switch endpoints

Open soniqua opened this issue 1 year ago • 2 comments

What

  • Adds Content-Length: 0 to empty POST requests for provision-token and switch-token endpoints

Why

  • Without this (or without --data="") Akamai responds with 411 (no Content-Length header)

soniqua avatar Jul 25 '24 12:07 soniqua

Is this not a breaking change? Or are you updating docs to reflect what was already there?

gablaxian avatar Jul 26 '24 11:07 gablaxian

@gablaxian the latter, this reflects current behaviour

soniqua avatar Jul 26 '24 12:07 soniqua