Convert the stored values into a cache control header.
(self)
| 87 | del self[key] |
| 88 | |
| 89 | def to_header(self) -> str: |
| 90 | """Convert the stored values into a cache control header.""" |
| 91 | from ..http import dump_csp_header |
| 92 | |
| 93 | return dump_csp_header(self) |
| 94 | |
| 95 | def __str__(self) -> str: |
| 96 | return self.to_header() |