contentType property

String? contentType
final

默认 Content-Type

常见值:

  • 'application/json'(默认推荐)
  • 'application/x-www-form-urlencoded'
  • 'multipart/form-data'
  • 'text/plain'

Implementation

final String? contentType;