Update http functions

This commit is contained in:
Ankit Mahato
2023-05-04 13:38:39 +05:30
parent 26207a9fc7
commit e440b5a5a7
3 changed files with 5 additions and 4 deletions

View File

@ -56,7 +56,7 @@ MediaType? getMediaTypeFromHeaders(Map? headers) {
(Uri?, String?) getValidRequestUri(
String? url,
List<KVRow>? requestParams,
String defaultUriScheme
{String defaultUriScheme = kDefaultUriScheme}
) {
url = url?.trim();
if(url == null || url == ""){