Skip to content

Commit 4085ad4

Browse files
committed
Removed QUOTE converter class. Not CryptoJWT specific.
1 parent 2ee6ba7 commit 4085ad4

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/cryptojwt/serialize/item.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
import json
2-
from urllib.parse import quote_plus
3-
from urllib.parse import unquote_plus
42

53
from cryptojwt import key_issuer
64

@@ -16,12 +14,3 @@ def deserialize(self, spec: str) -> key_issuer.KeyIssuer:
1614
_dict = json.loads(spec)
1715
issuer = key_issuer.KeyIssuer().load(_dict)
1816
return issuer
19-
20-
21-
class QUOTE:
22-
@staticmethod
23-
def serialize(item: str) -> str:
24-
return quote_plus(item)
25-
26-
def deserialize(self, spec: str) -> str:
27-
return unquote_plus(spec)

0 commit comments

Comments
 (0)