mirror of
https://github.com/foss42/apidash.git
synced 2025-05-28 20:27:04 +08:00
Merge branch 'main' into form_data_imp
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
import 'dart:io';
|
||||
import 'package:flutter/foundation.dart';
|
||||
import '../utils/utils.dart'
|
||||
show
|
||||
@ -63,6 +64,9 @@ class RequestModel {
|
||||
rowsToFormDataMapList(requestFormDataList) ?? [];
|
||||
bool get isFormDataRequest => requestBodyContentType == ContentType.formdata;
|
||||
|
||||
bool get hasContentTypeHeader => enabledHeadersMap.keys
|
||||
.any((k) => k.toLowerCase() == HttpHeaders.contentTypeHeader);
|
||||
|
||||
RequestModel duplicate({
|
||||
required String id,
|
||||
}) {
|
||||
|
Reference in New Issue
Block a user