diff --git a/scrapy/http/response/__init__.py b/scrapy/http/response/__init__.py
index 983154001..58ad414f1 100644
--- a/scrapy/http/response/__init__.py
+++ b/scrapy/http/response/__init__.py
@@ -9,6 +9,8 @@ from six.moves.urllib.parse import urljoin
 from scrapy.http.headers import Headers
 from scrapy.utils.trackref import object_ref
 from scrapy.http.common import obsolete_setter
+from scrapy.exceptions import NotSupported
+
 
 class Response(object_ref):
 
@@ -80,3 +82,22 @@ class Response(object_ref):
         """Join this Response's url with a possible relative url to form an
         absolute interpretation of the latter."""
         return urljoin(self.url, url)
+
+    @property
+    def text(self):
+        """For subclasses of TextResponse, this will return the body
+        as text (unicode object in Python 2 and str in Python 3)
+        """
+        raise AttributeError("Response content isn't text")
+
+    def css(self, *a, **kw):
+        """Shortcut method implemented only by responses whose content
+        is text (subclasses of TextResponse).
+        """
+        raise NotSupported("Response content isn't text")
+
+    def xpath(self, *a, **kw):
+        """Shortcut method implemented only by responses whose content
+        is text (subclasses of TextResponse).
+        """
+        raise NotSupported("Response content isn't text")

Idea: warn users when trying to use TextResponse functionality with plain Response
Currently, if we try to use TextResponse functionality like response.text or css()/xpath() methods with a plain Response (e.g. in case of binary content), we get an AttributeError:

```
>>> response.css
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-1-7d6e256164d4> in <module>()
----> 1 response.css

AttributeError: 'Response' object has no attribute 'css'
>>> response.xpath
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-2-4f61f6e9fc6e> in <module>()
----> 1 response.xpath

AttributeError: 'Response' object has no attribute 'xpath'
>>> response.text
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-3-be6a4a00df5e> in <module>()
----> 1 response.text

AttributeError: 'Response' object has no attribute 'text'
```

Would it make sense to add a few methods/properties to explain what's going on for new users?

I was thinking instead of AttributeError, a better behavior could be a ValueError with a message giving a bit more context.

So, in plain `Response`, we could have:

```
def css(self, *args, **kw):
    raise ValueError('Response content is not text')

def xpath(self, *args, **kw):
    raise ValueError('Response content is not text')

@property
def text(self, *args, **kw):
    raise ValueError('Response content is not text')
```

This would be nice, because we'd had to explain fewer things when teaching people about responses and also about using `.css` and `.xpath` methods.

What do you think?

diff --git a/tests/test_http_response.py b/tests/test_http_response.py
index c7f36687a..7624aa4c4 100644
--- a/tests/test_http_response.py
+++ b/tests/test_http_response.py
@@ -7,6 +7,7 @@ from scrapy.http import (Request, Response, TextResponse, HtmlResponse,
                          XmlResponse, Headers)
 from scrapy.selector import Selector
 from scrapy.utils.python import to_native_str
+from scrapy.exceptions import NotSupported
 
 
 class BaseResponseTest(unittest.TestCase):
@@ -127,6 +128,18 @@ class BaseResponseTest(unittest.TestCase):
         absolute = 'http://www.example.com/test'
         self.assertEqual(joined, absolute)
 
+    def test_shortcut_attributes(self):
+        r = self.response_class("http://example.com", body=b'hello')
+        if self.response_class == Response:
+            msg = "Response content isn't text"
+            self.assertRaisesRegexp(AttributeError, msg, getattr, r, 'text')
+            self.assertRaisesRegexp(NotSupported, msg, r.css, 'body')
+            self.assertRaisesRegexp(NotSupported, msg, r.xpath, '//body')
+        else:
+            r.text
+            r.css('body')
+            r.xpath('//body')
+
 
 class TextResponseTest(BaseResponseTest):
 

pip install -e .
parse_log_pytest
requirements.txt
pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio
apt-get update apt-get install -y gcc
3.9
requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
attrs==25.3.0
Automat==24.8.1
cffi==1.17.1
constantly==23.10.4
coverage==7.8.0
cryptography==44.0.2
cssselect==1.3.0
exceptiongroup==1.2.2
execnet==2.1.1
hyperlink==21.0.0
idna==3.10
incremental==24.7.2
iniconfig==2.1.0
jmespath==1.0.1
lxml==5.3.1
packaging==24.2
parsel==1.10.0
pluggy==1.5.0
pyasn1==0.6.1
pyasn1_modules==0.4.2
pycparser==2.22
PyDispatcher==2.0.7
pyOpenSSL==25.0.0
pytest==8.3.5
pytest-asyncio==0.26.0
pytest-cov==6.0.0
pytest-mock==3.14.0
pytest-xdist==3.6.1
queuelib==1.7.0
-e git+https://github.com/scrapy/scrapy.git@a19af5b164a23547f0327e1392526c7af67876a5#egg=Scrapy
service-identity==24.2.0
six==1.17.0
tomli==2.2.1
Twisted==24.11.0
typing_extensions==4.13.0
w3lib==2.3.1
zope.interface==7.2

name: scrapy
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.4.4=h6a678d5_1
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=3.0.16=h5eee18b_0
  - pip=25.0=py39h06a4308_0
  - python=3.9.21=he870216_1
  - readline=8.2=h5eee18b_0
  - setuptools=75.8.0=py39h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - tzdata=2025a=h04d1e81_0
  - wheel=0.45.1=py39h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - attrs==25.3.0
      - automat==24.8.1
      - cffi==1.17.1
      - constantly==23.10.4
      - coverage==7.8.0
      - cryptography==44.0.2
      - cssselect==1.3.0
      - exceptiongroup==1.2.2
      - execnet==2.1.1
      - hyperlink==21.0.0
      - idna==3.10
      - incremental==24.7.2
      - iniconfig==2.1.0
      - jmespath==1.0.1
      - lxml==5.3.1
      - packaging==24.2
      - parsel==1.10.0
      - pluggy==1.5.0
      - pyasn1==0.6.1
      - pyasn1-modules==0.4.2
      - pycparser==2.22
      - pydispatcher==2.0.7
      - pyopenssl==25.0.0
      - pytest==8.3.5
      - pytest-asyncio==0.26.0
      - pytest-cov==6.0.0
      - pytest-mock==3.14.0
      - pytest-xdist==3.6.1
      - queuelib==1.7.0
      - service-identity==24.2.0
      - six==1.17.0
      - tomli==2.2.1
      - twisted==24.11.0
      - typing-extensions==4.13.0
      - w3lib==2.3.1
      - zope-interface==7.2
prefix: /opt/conda/envs/scrapy

tests/test_http_response.py::BaseResponseTest::test_shortcut_attributes
tests/test_http_response.py::TextResponseTest::test_invalid_utf8_encoded_body_with_valid_utf8_BOM tests/test_http_response.py::TextResponseTest::test_selector tests/test_http_response.py::TextResponseTest::test_selector_shortcuts tests/test_http_response.py::TextResponseTest::test_shortcut_attributes tests/test_http_response.py::HtmlResponseTest::test_invalid_utf8_encoded_body_with_valid_utf8_BOM tests/test_http_response.py::HtmlResponseTest::test_selector tests/test_http_response.py::HtmlResponseTest::test_selector_shortcuts tests/test_http_response.py::HtmlResponseTest::test_shortcut_attributes tests/test_http_response.py::XmlResponseTest::test_invalid_utf8_encoded_body_with_valid_utf8_BOM tests/test_http_response.py::XmlResponseTest::test_selector tests/test_http_response.py::XmlResponseTest::test_selector_shortcuts tests/test_http_response.py::XmlResponseTest::test_shortcut_attributes
tests/test_http_response.py::BaseResponseTest::test_copy tests/test_http_response.py::BaseResponseTest::test_copy_inherited_classes tests/test_http_response.py::BaseResponseTest::test_copy_meta tests/test_http_response.py::BaseResponseTest::test_immutable_attributes tests/test_http_response.py::BaseResponseTest::test_init tests/test_http_response.py::BaseResponseTest::test_replace tests/test_http_response.py::BaseResponseTest::test_urljoin tests/test_http_response.py::TextResponseTest::test_bom_is_removed_from_body tests/test_http_response.py::TextResponseTest::test_copy tests/test_http_response.py::TextResponseTest::test_copy_inherited_classes tests/test_http_response.py::TextResponseTest::test_copy_meta tests/test_http_response.py::TextResponseTest::test_declared_encoding_invalid tests/test_http_response.py::TextResponseTest::test_encoding tests/test_http_response.py::TextResponseTest::test_immutable_attributes tests/test_http_response.py::TextResponseTest::test_init tests/test_http_response.py::TextResponseTest::test_replace tests/test_http_response.py::TextResponseTest::test_replace_wrong_encoding tests/test_http_response.py::TextResponseTest::test_unicode_body tests/test_http_response.py::TextResponseTest::test_unicode_url tests/test_http_response.py::TextResponseTest::test_urljoin tests/test_http_response.py::TextResponseTest::test_urljoin_with_base_url tests/test_http_response.py::TextResponseTest::test_utf16 tests/test_http_response.py::HtmlResponseTest::test_bom_is_removed_from_body tests/test_http_response.py::HtmlResponseTest::test_copy tests/test_http_response.py::HtmlResponseTest::test_copy_inherited_classes tests/test_http_response.py::HtmlResponseTest::test_copy_meta tests/test_http_response.py::HtmlResponseTest::test_declared_encoding_invalid tests/test_http_response.py::HtmlResponseTest::test_encoding tests/test_http_response.py::HtmlResponseTest::test_html5_meta_charset tests/test_http_response.py::HtmlResponseTest::test_html_encoding tests/test_http_response.py::HtmlResponseTest::test_immutable_attributes tests/test_http_response.py::HtmlResponseTest::test_init tests/test_http_response.py::HtmlResponseTest::test_replace tests/test_http_response.py::HtmlResponseTest::test_replace_wrong_encoding tests/test_http_response.py::HtmlResponseTest::test_unicode_body tests/test_http_response.py::HtmlResponseTest::test_unicode_url tests/test_http_response.py::HtmlResponseTest::test_urljoin tests/test_http_response.py::HtmlResponseTest::test_urljoin_with_base_url tests/test_http_response.py::HtmlResponseTest::test_utf16 tests/test_http_response.py::XmlResponseTest::test_bom_is_removed_from_body tests/test_http_response.py::XmlResponseTest::test_copy tests/test_http_response.py::XmlResponseTest::test_copy_inherited_classes tests/test_http_response.py::XmlResponseTest::test_copy_meta tests/test_http_response.py::XmlResponseTest::test_declared_encoding_invalid tests/test_http_response.py::XmlResponseTest::test_encoding tests/test_http_response.py::XmlResponseTest::test_immutable_attributes tests/test_http_response.py::XmlResponseTest::test_init tests/test_http_response.py::XmlResponseTest::test_replace tests/test_http_response.py::XmlResponseTest::test_replace_encoding tests/test_http_response.py::XmlResponseTest::test_replace_wrong_encoding tests/test_http_response.py::XmlResponseTest::test_unicode_body tests/test_http_response.py::XmlResponseTest::test_unicode_url tests/test_http_response.py::XmlResponseTest::test_urljoin tests/test_http_response.py::XmlResponseTest::test_urljoin_with_base_url tests/test_http_response.py::XmlResponseTest::test_utf16 tests/test_http_response.py::XmlResponseTest::test_xml_encoding
scrapy/http/response/__init__.py
scrapy/http/response/__init__.py