defaultTextMimes constant
HTTP request header "Accept" MIMEs that will cause XMLHttpRequest to use request type "text", which also makes it possible to read the HTTP response body progressively in chunks.
Implementation
static const Set<String> defaultTextMimes = {
'application/grpc-web-text',
'application/grpc-web-text+proto',
'text/*',
};