http_service: cleanup & streamHttpRequest: simplified

This commit is contained in:
Manas Hejmadi
2025-07-04 15:00:06 +05:30
parent 008eca6066
commit 7a8d1a6f4a
4 changed files with 21 additions and 143 deletions

View File

@@ -4,7 +4,6 @@ import 'package:http_parser/http_parser.dart';
import 'package:xml/xml.dart';
import '../consts.dart';
import 'dart:convert';
import 'dart:typed_data';
String? formatBody(String? body, MediaType? mediaType) {
if (mediaType != null && body != null) {