(value)
| 97 | |
| 98 | |
| 99 | def _unquotevalue(value): |
| 100 | # This is different than utils.collapse_rfc2231_value() because it doesn't |
| 101 | # try to convert the value to a unicode. Message.get_param() and |
| 102 | # Message.get_params() are both currently defined to return the tuple in |
| 103 | # the face of RFC 2231 parameters. |
| 104 | if isinstance(value, tuple): |
| 105 | return value[0], value[1], utils.unquote(value[2]) |
| 106 | else: |
| 107 | return utils.unquote(value) |
| 108 | |
| 109 | |
| 110 | def _decode_uu(encoded): |
no outgoing calls
no test coverage detected
searching dependent graphs…