0

I'm talking with one API in iOS app using Alamofire for my network request. So this api, in which i don't have access, at one response it sends me some headers with some values

For example

Set-Cookie: test1
Set-Cookie: test2
Set-Cookie: test3

but when i print allHTTPHeaderFields it prints me only the last "Set-Cookie" which is "test3" and the other 2 tests i lose them.

Is there any way to get each of the responses?

Konstantinos Natsios
  • 2,874
  • 9
  • 39
  • 74

0 Answers0