Hi, there is a nginx server module
nginx-push-stream-module, which locally allows to send post request to some url and the client via get subscribe to this information.
The problem is that I need to send an array of bytes, and after the get request will get the information like:
HTTP/1.1 200 OK<br>
Date: Fri, 13 Apr 2012 07:37:40 GMT<br>
<br / >
BIARY DATA HERE
The question is how to disable sending these headers? Is it possible to explicitly specify that I stupidly send the set of bytes and I need to get them without any additional information?
In nginx configuration, I tried to register:
asked October 8th 19 at 00:17 2 answers
This is the HTTP Protocol, so that at least HTTP/1.1 200 OK\n\n you always get, other headers can be removed. I understand you have clients are not browsers? Try it in your client, just filter out the headers. The response body comes after \n\n
Find more questions by tags
* nix-like systems Nginx