Refactoring from_response() [resource.py -> request.py] to avoid import circularity