diff --git a/src/core/components/response-body.jsx b/src/core/components/response-body.jsx index 265ff679..c55c1d6d 100644 --- a/src/core/components/response-body.jsx +++ b/src/core/components/response-body.jsx @@ -83,8 +83,12 @@ export default class ResponseBody extends React.Component { // Anything else (CORS) } else if (typeof content === "string") { bodyEl = - } else { + } else if ( content.size > 0 ) { + // We don't know the contentType, but there was some content returned bodyEl =
Unknown response type
+ } else { + // We don't know the contentType and there was no content returned + bodyEl = null } return ( !bodyEl ? null :