telefonicaid / fiware-pep-steelskin

Telefonica's implementation of the FIWARE PEP GE
GNU Affero General Public License v3.0
0 stars 0 forks source link

text/plain bodies are not forwarded #345

Closed AlvaroVega closed 7 years ago

AlvaroVega commented 7 years ago
curl -i -X PUT localhost:1026/v2/entities/Car1/attrs/temperature/value -H 'x-auth-token:  a2bb186b83964bcebbf8b5b29ab252d0' -H 'fiware-service: smartsegovia' -H 'fiware-servicepath: /' -H 'content-type: text/plain; charset=UTF-8' -d '"bbb"'

orion responses:

HTTP/1.1 411 Length Required

Because pep is forwarding to oriont without body, due to body is unhandled by pep.

fgalan commented 7 years ago

Fixed by PR https://github.com/telefonicaid/fiware-pep-steelskin/pull/346 (in master)