kong.request.get_path() returns tuple instead str
marverix opened this issue · 0 comments
marverix commented
According to specification, get_path
should return str
:
@staticmethod
def get_path() -> str:
"""
-- Given a request to https://example.com:1234/v1/movies?movie=foo
kong.request.get_path() -- "/v1/movies"
:returns the path
"""
pass
In kong_pdk==0.27
, it returns tuple (str, None)
.