diff options
| author | Ira Lun <sammyrosajoe@gmail.com> | 2017-11-06 23:13:38 +0000 |
|---|---|---|
| committer | Ira Lun <sammyrosajoe@gmail.com> | 2017-11-06 23:13:38 +0000 |
| commit | 175e50a0a3be9510a6134d04369db3eda3555a35 (patch) | |
| tree | 223a160062cbdaa5d2e030afac08ddf227cf8045 /src/webob | |
| parent | 524520528d1f15f8e857222f8f520ba1dc4d6354 (diff) | |
| download | webob-175e50a0a3be9510a6134d04369db3eda3555a35.tar.gz | |
Add MIMEAccept for backward compatibility.
Diffstat (limited to 'src/webob')
| -rw-r--r-- | src/webob/acceptparse.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/webob/acceptparse.py b/src/webob/acceptparse.py index 8b62618..bc321c5 100644 --- a/src/webob/acceptparse.py +++ b/src/webob/acceptparse.py @@ -1056,6 +1056,9 @@ class AcceptValidHeader(Accept): return bestq or None +MIMEAccept = AcceptValidHeader # backward compat + + class _AcceptInvalidOrNoHeader(Accept): """ Represent when an ``Accept`` header is invalid or not in request. |
