Norbert Melzer wrote in post #1150632:
> He gets that snippet from another server, the opening does not want to
> create a body without headers, he wants to extract the actual body out
> of a
> full HTTP-response he got from external services.
>
> So easiest way would be to drop everything before the first (and
> including
> it) newline, the remainder is the body, as described in the HTTP-RFC...
> Am 24.06.2014 20:14 schrieb "Colin Law" <clanlaw@gmail.com>:
Hi Norbert
My client only wish to receive the http body from me (rails application
with nginx) and he is unable to extract from a full http response.
Therefore any advise to just sent down only the response body is still
very much appreciated.
T
Ps I also want to thank all have responded so far.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/0940490eea52ab8c2c7f56e172a3f53f%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment