Allow request->is() to detect patch
Merge pull request #1151 from gavD/detect-patch-in-request

Allow request->is() to detect patch