Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/Request.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class Request extends AbstractMessage implements RequestInterface
3737
const METHOD_TRACE = 'TRACE';
3838
const METHOD_CONNECT = 'CONNECT';
3939
const METHOD_PATCH = 'PATCH';
40+
const METHOD_PROPFIND= 'PROPFIND';
4041
/**#@-*/
4142

4243
/**
@@ -370,6 +371,16 @@ public function isOptions()
370371
return ($this->method === self::METHOD_OPTIONS);
371372
}
372373

374+
/**
375+
* Is this a PROPFIND method request?
376+
*
377+
* @return bool
378+
*/
379+
public function isPropFind()
380+
{
381+
return ($this->method === self::METHOD_PROPFIND);
382+
}
383+
373384
/**
374385
* Is this a GET method request?
375386
*

0 commit comments

Comments
 (0)