Polymer iron-ajax response code
<p>I am using Polymer 1.6 and <code>&lt;iron-ajax&gt;</code> for my API calls. I cannot distinguish between these two situations based on <code>iron-ajax-error</code> event:</p>

<ol>
<li>Basic authentication failure on back-end (browser returns <code>403 Forbidden</code>)</li>
<li>Service not found (browser returns <code>404 Not Found</code>)</li>
</ol>

<p>In both situations, the response body is empty <strong>even though</strong> in the authentication problem, the server responds with a JSON body.</p>

<p>I would like to read the response status code, or be able to get the response body in situation 1.</p>