protected function _parse_patch()
{
// It might be a HTTP body
if ($this->request->format) {
$this->request->body = $this->input->raw_input_stream;
} else {
if ($this->input->method() === 'patch') {
// If no filetype is provided, then there are probably just arguments
$this->_patch_args = $this->input->input_stream();
}
}
}