          self.assertEqual([], p('XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXZ,en'))
          self.assertEqual([], p('da, en-gb;q=0.8, en;q=0.7,#'))
          self.assertEqual([], p('de;q=2.0'))
          self.assertEqual([], p('de;q=0.a'))
          self.assertEqual([], p(''))
  
      def test_parse_literal_http_header(self):
          """
          Now test that we parse a literal HTTP header correctly.
 
</s> remove # Format of Accept-Language header values. From RFC 2616, section 14.4 and 3.9.
 </s> add # Format of Accept-Language header values. From RFC 2616, section 14.4 and 3.9
# and RFC 3066, section 2.1 </s> remove         ([A-Za-z]{1,8}(?:-[A-Za-z]{1,8})*|\*)         # "en", "en-au", "x-y-z", "*"
 </s> add         ([A-Za-z]{1,8}(?:-[A-Za-z0-9]{1,8})*|\*)      # "en", "en-au", "x-y-z", "es-419", "*"
        self.assertEqual([], p('12-345'))
          self.assertEqual([], p('XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXZ,en'))
          self.assertEqual([], p('da, en-gb;q=0.8, en;q=0.7,#'))
          self.assertEqual([], p('de;q=2.0'))
          self.assertEqual([], p('de;q=0.a'))
        self.assertEqual([], p('12-345'))
          self.assertEqual([], p(''))
  
      def test_parse_literal_http_header(self):
          """
          Now test that we parse a literal HTTP header correctly.
keep keep keep add keep keep keep keep keep
 Fixed #19142 -- Language codes can include numbers (RFC 3066). 
tests/regressiontests/i18n/tests.py