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

Signed-off-by: Pavel Krasikov <klonishe@gmail.com>
  • Loading branch information
xklonx committed Oct 27, 2019
1 parent c4a9a70 commit d29d116
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 @@ -417,7 +417,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 d29d116

Please sign in to comment.