Skip to content

Commit ed9dfe5

Browse files
author
Watson Zuo
committed
update sample url
1 parent 5a9c130 commit ed9dfe5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tracking/auth.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@ def canonical_header(cls, headers: Dict) -> str:
9898
def canonical_resource(cls, raw_url: str) -> str:
9999
"""
100100
:param raw_url: str - raw request url.
101-
Example : https://api.aftership.com/tracking/2024-04/trackings?key2=value2&key1=value1
101+
Example : https://api.aftership.com/tracking/2024-10/trackings?key2=value2&key1=value1
102102
103103
:return canonical_url: str - canonical request url.
104-
Example :/tracking/2024-04/trackings?key1=value1&key2=value2
104+
Example :/tracking/2024-10/trackings?key1=value1&key2=value2
105105
"""
106106
u = url.parse_url(raw_url)
107107
resource = u.path

0 commit comments

Comments
 (0)