Explorar el Código

Remove isRequired from ResponseBody's `contentType` property as responses without a Content-Type header will not have a value to pass

bubble
Owen Conti hace 7 años
padre
commit
b2d52e2629
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/core/components/response-body.jsx

+ 1
- 1
src/core/components/response-body.jsx Ver fichero

@@ -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


Cargando…
Cancelar
Guardar