The value of charset part for Content-Type HTTP header.
(self, _CONTENT_TYPE=hdrs.CONTENT_TYPE)
| 61 | |
| 62 | @property |
| 63 | def charset(self, _CONTENT_TYPE=hdrs.CONTENT_TYPE): |
| 64 | """The value of charset part for Content-Type HTTP header.""" |
| 65 | raw = self.headers.get(_CONTENT_TYPE) |
| 66 | if self._stored_content_type != raw: |
| 67 | self._parse_content_type(raw) |
| 68 | return self._content_dict.get('charset') |
| 69 | |
| 70 | @property |
| 71 | def content_length(self, _CONTENT_LENGTH=hdrs.CONTENT_LENGTH): |
nothing calls this directly
no test coverage detected