Replies: 1 comment
-
It should not forward the body as this may inadvertently expose internal details of a back-end connection. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently the
HttpDataSource
won't forward the request-body from the source, if the http status code is not in the [200..300) range.However also responses with greater status codes may contain valid response bodys, that are relevant for the consumer.
Is it feasible to also return those response bodies?
Here you can see the current implementation:
Connector/extensions/data-plane/data-plane-http/src/main/java/org/eclipse/edc/connector/dataplane/http/pipeline/HttpDataSource.java
Lines 63 to 88 in 8932966
Beta Was this translation helpful? Give feedback.
All reactions