title: Volley Response headers ignores set-cookie
body: <p>I have an android app and i am making a request using Volley. In the header of the response it is sending back a set cookie header that i need to save. The issue is i override parse network response and in the response headers map all the headers are there except the set cookie header. I know its being sent because i have Charles http monitor so i know its being sent but volley is ignoring it. any suggestions?</p>
  
  <p>in my class that extends request and the set-cookie is always empty</p>
  
  <pre><code> @Override
      protected Response&lt;T&gt; parseNetworkResponse(NetworkResponse response)
      {
          T parsedResponse = null;
          switch (type){
  
                  parsedResponse = (T)Parser.parse(new String(response.data));
                  String sessionId = response.headers.get("Set-Cookie");
                  if(sessionId!=null)
                  {
                      sessionId = sessionId.split("=")[1];
                      SessionHelper.saveSessionId(mContext, sessionId);
                      Log.e("session","saved session");
                  }
          }
  
          return Response.success(parsedResponse, HttpHeaderParser.parseCacheHeaders(response));
  
      }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/Oab5Q.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Oab5Q.png" alt="and here is the request going into the device, with the set cookie header"></a></p>