From b2d52e2629931d8f10f52402da9a60081713397b Mon Sep 17 00:00:00 2001 From: Owen Conti Date: Sun, 25 Jun 2017 16:10:14 -0600 Subject: [PATCH] Remove isRequired from ResponseBody's `contentType` property as responses without a Content-Type header will not have a value to pass --- src/core/components/response-body.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/components/response-body.jsx b/src/core/components/response-body.jsx index 45f8e90c..e048c33b 100644 --- a/src/core/components/response-body.jsx +++ b/src/core/components/response-body.jsx @@ -6,7 +6,7 @@ export default class ResponseBody extends React.Component { static propTypes = { content: PropTypes.any.isRequired, - contentType: PropTypes.string.isRequired, + contentType: PropTypes.string, getComponent: PropTypes.func.isRequired, headers: PropTypes.object, url: PropTypes.string