hi guys,
I have a little issue with reponse object inside a request callback when the page returns a 404:
- If the page exists (http code: 200) response is of type HtmlResponse.
- If the page returns 404, response is of type instance which contain some attriubtes related to error messages, and in this latter case, status isnt an attriburte of the response object.
so I can know if the response status is 404, only if I verify response object class (HtmlResponse or instance ).
how do we know that a page returns 404 if response.status isnt available as an attribute of reponse object ?