dio icon indicating copy to clipboard operation
dio copied to clipboard

Request options should use the `Header` class for headers just like the response

Open ueman opened this issue 2 years ago • 0 comments

New Issue Checklist

  • [x] I have searched for a similar issue in the project and found none

Issue Info

Info Value
Dio Version e.g. 2.1.0 / 1.0.17 4.0.6

Issue Description and Steps

The request options uses Map<String, dynamic> to hold headers. The response uses the Header class. Ideally this gets aligned.

ueman avatar Jul 07 '22 06:07 ueman