Better handling of response of various content-types

This commit is contained in:
Ankit Mahato
2023-03-16 21:03:57 +05:30
parent ccef9c0162
commit a14284e20c
4 changed files with 128 additions and 106 deletions

View File

@ -122,6 +122,6 @@ String formatHeaderCase(String text) {
return (kResponseBodyViewOptions[type]![kSubTypeDefaultViewOptions]!, subtype);
}
else {
return (kDefaultBodyViewOptions, null);
return (kNoBodyViewOptions, null);
}
}