By default this interceptor will only parse JSON response if
the Content-Type response header is compatible with
application/json or the one specified in headerContent.
By setting force to true, it'll parse regardless the header.
Optional headerContent
headerContent:undefined | string
Customize response Content-Type header to enable JSON parsing.
Options for JSON response interceptor factory.