summaryrefslogtreecommitdiff
path: root/repoze/bfg/request.py
diff options
context:
space:
mode:
Diffstat (limited to 'repoze/bfg/request.py')
-rw-r--r--repoze/bfg/request.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/repoze/bfg/request.py b/repoze/bfg/request.py
index a7f4f32ba..f3443dfa2 100644
--- a/repoze/bfg/request.py
+++ b/repoze/bfg/request.py
@@ -7,9 +7,9 @@ from webob import Request as WebobRequest
from repoze.bfg.interfaces import IRequest
def make_request_ascii(event):
- """ An event handler that causes the request charset to be ASCII;
- used as an INewRequest subscriber so code written before 0.7.0 can
- continue to work without a change"""
+ """ An function that is useful as a ``INewRequest`` :term:`event`
+ :term:`subscriber` that causes the request charset to be ASCII so
+ code written before 0.7.0 can continue to work without a change"""
request = event.request
request.charset = None