dio
dio copied to clipboard
Request options should use the `Header` class for headers just like the response
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.