-
I am working with EDC 0.2.1. I initiate a data transfer from an HTTP endpoint to an other HTTP endpoint using the following msg.
I have set method to PUT (default is POST) using "method": "PUT" and it worked.
There is some documentation here: https://github.com/eclipse-edc/Connector/blob/v0.4.1/extensions/data-plane/data-plane-http/README.md?plain=1 but I can't find an example on how to set Content-Length header (generally any additional header) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think that I found how to set an additional header
The header parameter seems to reach HttpDataSink, it is printed in a log message (see below). However, I still get the same error
It looks like the header is never send from the httpclient or is somehow filtered
|
Beta Was this translation helpful? Give feedback.
By default, the http call is sent in a
chunked
manner, so it has noContent-Length
.If you want to change this, please add a
"nonChunkedTransfer": true
property to thedataDestination
in that case theContent-Length
header will be sent