1
0
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:
Max Shytikov
2014-04-07 01:13:51 +02:00
parent bd9fa773e8
commit 6b060e5666
2 changed files with 5 additions and 1 deletions

View File

@@ -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