KestrunResponse.IsTextBasedContentType method
Determines whether the specified content type is text-based or supports a charset.
public static bool IsTextBasedContentType(string type)
parameter | description |
---|---|
type | The MIME content type to check. |
Return Value
True if the content type is text-based; otherwise, false.
See Also
- class KestrunResponse
- namespace Kestrun.Models