mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-09 01:03:24 +00:00
Added path to Request with matcher and test
This commit is contained in:
@@ -23,6 +23,10 @@ class Request(object):
|
||||
def port(self):
|
||||
return urlparse(self.uri).port
|
||||
|
||||
@property
|
||||
def path(self):
|
||||
return urlparse(self.uri).path
|
||||
|
||||
@property
|
||||
def url(self):
|
||||
return self.uri
|
||||
|
||||
Reference in New Issue
Block a user