| 720 | |
| 721 | |
| 722 | class Value(TokenList): |
| 723 | |
| 724 | token_type = 'value' |
| 725 | |
| 726 | @property |
| 727 | def stripped_value(self): |
| 728 | token = self[0] |
| 729 | if token.token_type == 'cfws': |
| 730 | token = self[1] |
| 731 | if token.token_type.endswith( |
| 732 | ('quoted-string', 'attribute', 'extended-attribute')): |
| 733 | return token.stripped_value |
| 734 | return self.value |
| 735 | |
| 736 | |
| 737 | class MimeParameters(TokenList): |
no outgoing calls
no test coverage detected