# coding=utf-8 from __future__ import unicode_literals import string from collections import OrderedDict from .. import BaseProvider class Provider(BaseProvider): application_mime_types = ( "application/atom+xml", # Atom feeds "application/ecmascript", # ECMAScript/JavaScript; Defined in RFC 4329 (equivalent to # application/javascript but with stricter processing rules) "application/EDI-X12", # EDI X12 data; Defined in RFC 1767 "application/EDIFACT", # EDI EDIFACT data; Defined in RFC 1767 "application/json", # JavaScript Object Notation JSON; Defined in RFC 4627 # ECMAScript/JavaScript; Defined in RFC 4329 (equivalent to # application/ecmascript "application/javascript", # but with looser processing rules) It is not accepted in IE 8 # or earlier - text/javascript is accepted but it is defined as obsolete in RFC 4329. # The "type" attribute of the