title: Fetch Http-Status-Codes in arduino (ESP8266)
body: <p>I did go through ESP8266WiFi.h but not able to figure out how to retrieve <a href="http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml#http-status-codes-1" rel="nofollow">HTTP-status-codes</a> once I get a response. </p>
  
  <p>My code is as follows:</p>
  
  <pre><code>String serverMessage = BuildOutMessage();
  client.print(serverMessage);
  delay(10);
  </code></pre>
  
  <p>...</p>
  
  <pre><code>while (client.available()){
      String line = client.readString();
      Serial.println(line);
  }
  
  Serial.println("");
  Serial.println("closing connection");
  </code></pre>
  
  <p>There are no methods to obtain HTTP Status codes or the 200/404/400/etc. is not part of the message I get from the server. How can I retrieve the status code?</p>
  
  <p>I did try using Postman and I see the status code.</p>