Is it possible to send an ouput stream as response to a HTTP request?
<p>Consider the case where Server B makes a HTTP request to Server A (Which is an encryption server) and get an output stream (which is encrypted). So that Server B could write with the help of this encrypted stream.</p>
<p>Now this encrypted output stream would be opened in Server A and closed at Server B.</p>
<ol>
<li><p>Is it possible to send an output stream in HTTP response?</p>
</li>
<li><p>Is it a right way to send an output stream in response? Or are there any conventions like the output stream must be closed in the same server (or same application) where it is originated?</p>
</li>
</ol>