ajax response vs normal http response
<p>By checking the <code>x-requested-with</code> header we can check whether a request is an ajax or not, but how does the browser knows it's an ajax response and it need not be rendered, rather it needs to be handled by JS?</p>
