pass-body Action #

The pass-body action sends the unmodified response body of a request to the client. It prevents unnecessary copying which is especially useful when dealing with binary data.

Syntax #

Examples #

<flow>
  <request>{ "url": "…" }</request>
  <pass-body />
</flow>
<flow>
  <request>{ "id": "pass-me", "url": "…" }</request>
  <pass-body request="pass-me" status="200"/>
</flow>

See also #