json-api-dart icon indicating copy to clipboard operation
json-api-dart copied to clipboard

Can't get "set-cookie" headers

Open alex-misch opened this issue 5 years ago • 2 comments

Hello. Your headers positional argument in any request is type of Map<Stirng, String>. But set-cookie can be used twice or more in one request. So it is not valid type for it. Can you change it to Map<String, List<String>> ?

alex-misch avatar Feb 06 '20 12:02 alex-misch

This will be implemented in v4 as it's a breaking change. [EDIT: figured you're talking about the server]

f3ath avatar Feb 06 '20 17:02 f3ath

@alex-misch I'm really interested in learning more about your case as I'm actively redesigning the server. Would you be available for a quick chat?

f3ath avatar Feb 07 '20 05:02 f3ath