I've made sure the ctrl-lfs are there, both through the serial interface and the code, still it behaves erratically. Sometimes it seems to work, but most of the time it doesn't. I also have the impression the module is resetting itself quite often after sending a command.
To facilitate the debugging, I'm including the code I'm using, showing the usage of the \r\n ...
String POST = "GET / \r\n";
POST += "User-Agent: Curl/7.37.0 \r\n";
POST += "Host: 192.168.1.100 \r\n";
POST += "Accept: */* \r\n";
POST += "\r\n";
esp8266.println("AT+CIPSTART=\"TCP\",\"192.168.1.100\",80");
esp8266.print("AT+CIPSEND=");
esp8266.println(POST.length());
esp8266.println(POST);
esp8266.println("AT+CIPCLOSE");
(I've removed the code capturing the returns ...)
What I get back now is
... send posting
Received string :
***Start***
AT+CIPSEND=72
> GET /
User-Agent: Curl/7.37.0
Host: 192.168
***End***
Received string :
***Start***
AT+CIPCLOSE
ERROR
***End***
Now the host gets cut off after the 192.168 ... even thought the length is 72 ... Any clue?