Skip to content

Commit

Permalink
fix getContent so body content stream can be accessed on POST method,
Browse files Browse the repository at this point in the history
exception message
  • Loading branch information
xklonx committed Oct 24, 2019
1 parent 2cee680 commit e0721a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/AppFramework/Http/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ protected function getContent() {
) {
if ($this->content === false) {
throw new \LogicException(
'"put" can only be accessed once if not '
'"' . strtolower($this->method) . '" can only be accessed once if not '
. 'application/x-www-form-urlencoded or application/json.'
);
}
Expand Down

0 comments on commit e0721a6

Please sign in to comment.