Map headers = response.getHeaders(); Map ret = new LinkedHashMap(); ret.put("", Collections.singletonList(getStatusLine(response)));
Headers headers = response.getHeaders(); LinkedHashMap ret = new LinkedHashMap(); ret.put(null, Collections.singletonList(getStatusLine(response)));
  public Map getHeaderFields()  {    if (!connected)      {        try          {            connect();          }        catch (IOException e)          {            return null;          }      }    Map headers = response.getHeaders();    Map ret = new LinkedHashMap();    ret.put("", Collections.singletonList(getStatusLine(response)));    for (Iterator i = headers.entrySet().iterator(); i.hasNext(); )      {        Map.Entry entry = (Map.Entry) i.next();        String key = (String) entry.getKey();        String value = (String) entry.getValue();        ret.put(key, Collections.singletonList(value));      }    return ret;  }