title: XML/ATOM Getting error : response is not an Atom feed/entry
body: <p>I'm making a GET Request with 
  <code>headers={'Accept': 'application/atom+xml,application/atomsvc+xml,application/xml'}</code></p>
  
  <p>And I'm getting this as response: </p>
  
  <pre><code>result: 200 (OK) 
  response headers: {'last-modified': 'Wed, 02 Oct 2013 22:17:45 GMT', 'content-length': '2328', 'etag': '1405175890', 'x-powered-by': 'Servlet/3.0', 'date': 'Wed, 02 Oct 2013 22:17:45 GMT', 'content-type': 'application/atom+xml'} 
  response body:
  &lt;feed xmlns="http://www.w3.org/2005/Atom" xmlns:ns2="http://a9.com/-/spec/opensearch/1.1/" xmlns:ns3="http://www.w3.org/1999/xhtml"&gt;
  .
  .
  .
  .  
  &lt;/content&gt;
  &lt;/entry&gt;
  &lt;/feed&gt;
  Error 500: java.lang.NullPointerException
  </code></pre>
  
  <p>And I'm getting the error: "response is not an Atom feed/entry"
  I tried different headers but i failed. How this issue can be solved ?
  Code is written in Python and using '<strong>requests</strong>' Library.</p>