Skip to content
This repository has been archived by the owner on Dec 20, 2021. It is now read-only.

Commit

Permalink
fix: remove exception when validating a non JSON/XML body payload
Browse files Browse the repository at this point in the history
  • Loading branch information
RETFU committed Mar 29, 2016
1 parent 1507556 commit 4e979c6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/RREST.php
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,6 @@ protected function assertHTTPPayloadBody($contentType, $schema, $value)
$this->assertHTTPPayloadBodyXML($value, $schema);
break;
default:
throw new UnsupportedMediaTypeHttpException();
break;
}
}
Expand Down

0 comments on commit 4e979c6

Please sign in to comment.