[test] remove custom implementation of FakeRequest.header_accept_language() (closes #3375021)
``Accept-Language`` should be overridable just as any other request header.
Default value is "nothing" since the application should be able the empty
header case.
--- a/devtools/fake.py Mon Jan 13 15:27:35 2014 +0100
+++ b/devtools/fake.py Mon Jan 20 09:13:12 2014 +0100
@@ -71,10 +71,6 @@
self._headers_in.setHeader('Cookie', cookie)
## Implement request abstract API
- def header_accept_language(self):
- """returns an ordered list of preferred languages"""
- return ('en',)
-
def http_method(self):
return self._http_method