title: using ETag but the status code is always 200 and not 304
body: <p>When I try to request for the the 
  <a href="http://graph.facebook.com/me?fields=friends" rel="nofollow">http://graph.facebook.com/me?fields=friends</a>
  with the ETag I always get the request code as 200 every time.
  we I made two back to back response and checked it. The change was at the end it had a section for pagination and it attached a access token. which is always different so the ETag value also changes.
  I am using google app engine to host my app. and using <strong>URLFetech</strong> to make the request.</p>
  
  <pre><code>&lt;code&gt; 
  String ETag = FBUser.getProperty("ETag").toString();&lt;br&gt;
  String s="https://graph.facebook.com/me?fields=friendlists&amp;access_token=" + facebookSignedRequest.getOauth_token();&lt;br&gt;
  URL u = null;&lt;br&gt;
  try {&lt;br&gt;
  u = new URL(s);&lt;br&gt;
  } catch (MalformedURLException e) 
  {
  e.printStackTrace(out1);}&lt;br&gt;           
  FetchOptions options = FetchOptions.Builder.withDefaults();&lt;br&gt;
  HTTPRequest req = new HTTPRequest(u,HTTPMethod.GET,options);&lt;br&gt;
  req.addHeader(new HTTPHeader("If-None-Match", ETag));&lt;br&gt;
  URLFetchService service = URLFetchServiceFactory.getURLFetchService();&lt;br&gt;
  HTTPResponse res = null;&lt;br&gt;
  try 
  {res = service.fetch(req);} &lt;br&gt;
  catch (IOException e) { e.printStackTrace(out1);}&lt;br&gt;
  
  String newETag="";&lt;br&gt;
  List&lt;HTTPHeader&gt; Head = res.getHeaders();&lt;br&gt;
  for(int i=0;i &lt; Head.size();i++)&lt;br&gt;
  {
  if("ETag".equals(Head.get(i).getName()))&lt;br&gt;
  {
     newETag=Head.get(i).getValue();&lt;br&gt;
     out1.println("new ETag : " + newETag);&lt;br&gt;
     out1.println("ETag" + ETag);&lt;br&gt;
  }
  }
  if(res.getResponseCode() == 304)&lt;br&gt;
  { 
    return false;&lt;br&gt;
  }else
  {
  FBUser.setProperty("ETag", newETag);&lt;br&gt;
  datastore.put(FBUser);&lt;br&gt;
  return true;&lt;br&gt;
  }
  &lt;/code&gt;
  </code></pre>
  
  <p>regards,<br>
  iDeViL17</p>