(self)
| 730 | headers.pop("c") |
| 731 | |
| 732 | def test_set_arguments(self): |
| 733 | a = self.storage_class() |
| 734 | a.set("Content-Disposition", "useless") |
| 735 | a.set("Content-Disposition", "attachment", filename="foo") |
| 736 | assert a["Content-Disposition"] == "attachment; filename=foo" |
| 737 | |
| 738 | def test_reject_newlines(self): |
| 739 | h = self.storage_class() |