title: Invalid cookie header : Unable to parse expires attribute when expires attribute is empty
body: <p>In an android application, when using <code>DefaultHttpClient</code> to get an URL content (executing HttpGet) I receive the following warning in logs: </p>
  
  <pre><code>W/ResponseProcessCookies(20386): Invalid cookie header: "Set-Cookie: NSC_vbue_iuuq=ffff660; expires=; domain=private.false.name; path=/; isSecure=false". Unable to parse expires attribute:
  </code></pre>
  
  <p>I understand the warning because the <code>expires</code> field does not contain a valid date format. I understand it maybe because it is a 'session cookie' (without being expert). <a href="http://curl.haxx.se/mail/lib-2009-10/0326.html">Thread about similar situation in Curl context</a></p>
  
  <p>Searching the web I found mainly the </p>
  
  <pre><code>.setParameter(ClientPNames.COOKIE_POLICY, CookiePolicy.BEST_MATCH (or other) )
  </code></pre>
  
  <p>option to avoid warning by parsing correctly dates that contain a comma.</p>
  
  <p>However, I would like to avoid that log. (not by disabling logs)
  I believe internally all is fine since "I GUESS", <code>cookie.setExpiryDate()</code> is simply not called.  </p>
  
  <p>Do you think I need a specific configuration of my HTTP client (I've not set specific configurations) to avoid that warning or to support empty expires?</p>
  
  <p>Thanks. </p>