<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jan 4, 2017 at 12:58 PM, Georg Stein SMC <span dir="ltr"><<a href="mailto:georg@steinmc.com" target="_blank">georg@steinmc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>in the log i get: (tried with '$'\r\n, \r\n, \n and all other
      combinations i could imagine to get the CRLF)<br>
    </p>
    <p><span style="color:rgb(0,0,0)">[https @ 02fd0b20] No trailing CRLF
        found in HTTP header.</span></p></div></blockquote><div>Totally guessing here, but a proper HTTP header is terminated by *two* CRLFs, ie "\r\n\r\n". (Or, put another way, each HTTP header line is terminated by a CRLF, and the header as a whole is terminated by an empty line; so the header ends with the CRLF from the last line, plus the CRLF from the empty line.) Are you terminating your string with two CRLFs?</div><div><br></div><div>Josh</div><div><br></div></div></div></div>