mirror of
https://github.com/foss42/apidash.git
synced 2025-05-22 16:57:07 +08:00
Update ContentType & ResponseBodyView enums
This commit is contained in:
@ -154,7 +154,7 @@ body = b'\r\n'.join(dataList)
|
||||
hasHeaders = true;
|
||||
if (hasBody && !requestModel.hasContentTypeHeader) {
|
||||
headers[HttpHeaders.contentTypeHeader] =
|
||||
kContentTypeMap[requestModel.requestBodyContentType] ?? "";
|
||||
requestModel.requestBodyContentType.header;
|
||||
}
|
||||
var headersString = kEncoder.convert(headers);
|
||||
headersString = padMultilineString(headersString, kHeadersPadding);
|
||||
|
Reference in New Issue
Block a user