(contentType: string)
| 256 | } |
| 257 | |
| 258 | function isMarkdownContentType(contentType: string): boolean { |
| 259 | return contentType.includes('text/markdown') |
| 260 | } |
| 261 | |
| 262 | function isSupportedContentType(contentType: string): boolean { |
| 263 | return /^(text\/|application\/(json|[^;\s/]+\+json|xhtml\+xml|xml|rss\+xml|atom\+xml)\b)/i.test( |
no outgoing calls
no test coverage detected