title: How to parse a none standard HTTP response?
body: <p>I'm having a real hard time figuring out how to parse a none standard HTTP response.</p>
  
  <p>The none standard response contains <code>ICY 200 OK</code> instead of <code>HTTP 200 OK</code>. Here is a sample URL that sends the none standard HTTP response.<br>
  <code>http://50.117.121.162:80</code></p>
  
  <p>Since Android 4.4 <a href="http://developer.android.com/reference/java/net/HttpURLConnection.html" rel="noreferrer">HttpURLConnection</a> will no longer work with these none standard responses. I have tried using the <a href="http://developer.android.com/reference/org/apache/http/client/HttpClient.html" rel="noreferrer">HttpClient</a> by Apache but it doesn't work because of the none standard HTTP response. I have then tried following the guide for adding a <a href="https://hc.apache.org/httpcomponents-client-ga/tutorial/html/advanced.html" rel="noreferrer">custom response parser</a>, but Android doesn't seem have all the classes needed to do it.</p>
  
  <p>I'm really struggling to figure out a solution. Possibly modify the none standard response before it is parsed by the <a href="http://developer.android.com/reference/org/apache/http/client/HttpClient.html" rel="noreferrer">HttpClient</a> or the <a href="http://developer.android.com/reference/java/net/HttpURLConnection.html" rel="noreferrer">HttpURLConnection</a> could work but I'm not sure if that is even possible...</p>
  
  <p>Any help would be greatly appreciated.</p>