7

I am using Alamofire for networking in my project. As my server support gzipped response. I wanted to know whether Alamofire in itself support gzip or do i need to exclusively set in its header as ["Accept-Encoding":"gzip"]. I tried both the cases and did not find any difference in the size of response. So I was assuming that it requests for gzip response by default. Any light on this topic would be useful.

Also is there a way to check for raw response with Alamofire?

Shobhit C
  • 828
  • 10
  • 15

1 Answers1

8

Alamofire handle it by itself, and don't need to do anything... You can find more here: https://github.com/Alamofire/Alamofire/issues/256

Hamish
  • 1,685
  • 22
  • 37