gophermap 1.0.0__tar.gz → 1.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {gophermap-1.0.0 → gophermap-1.1.0}/PKG-INFO +1 -1
- {gophermap-1.0.0 → gophermap-1.1.0}/pyproject.toml +1 -1
- {gophermap-1.0.0 → gophermap-1.1.0}/pyproject.toml.orig +1 -1
- {gophermap-1.0.0 → gophermap-1.1.0}/src/gophermap/item_type.py +6 -0
- {gophermap-1.0.0 → gophermap-1.1.0}/README.md +0 -0
- {gophermap-1.0.0 → gophermap-1.1.0}/src/gophermap/__init__.py +0 -0
- {gophermap-1.0.0 → gophermap-1.1.0}/src/gophermap/__main__.py +0 -0
- {gophermap-1.0.0 → gophermap-1.1.0}/src/gophermap/exceptions.py +0 -0
- {gophermap-1.0.0 → gophermap-1.1.0}/src/gophermap/gopher_map.py +0 -0
- {gophermap-1.0.0 → gophermap-1.1.0}/src/gophermap/item.py +0 -0
- {gophermap-1.0.0 → gophermap-1.1.0}/src/gophermap/py.typed +0 -0
|
@@ -45,8 +45,12 @@ class ItemType(StrEnum):
|
|
|
45
45
|
"""A document file."""
|
|
46
46
|
AUDIO = "s"
|
|
47
47
|
"""An audio file."""
|
|
48
|
+
PNG = "p"
|
|
49
|
+
"""A PNG image."""
|
|
48
50
|
PDF = "P"
|
|
49
51
|
"""A PDF file."""
|
|
52
|
+
RTF = "r"
|
|
53
|
+
"""A rich text format file."""
|
|
50
54
|
XML = "X"
|
|
51
55
|
"""An XML file."""
|
|
52
56
|
UNKNOWN = "unknown"
|
|
@@ -92,6 +96,8 @@ class ItemType(StrEnum):
|
|
|
92
96
|
ItemType.AUDIO: "application/octet-stream",
|
|
93
97
|
ItemType.PDF: "application/pdf",
|
|
94
98
|
ItemType.XML: "application/xml",
|
|
99
|
+
ItemType.PNG: "image/png",
|
|
100
|
+
ItemType.RTF: "application/rtf",
|
|
95
101
|
}.get(self, "application/x-gopher-unknown")
|
|
96
102
|
|
|
97
103
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|