objcio / tiny-networking

Tiny Networking Library

Home Page:http://talk.objc.io/collections/networking

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get response headers

Ashraf-Ali-aa opened this issue · comments

Hi I was wondering how I can get the response headers from a request, so that I can pass a value from the repsonse header to a diffrent request.

In the parse function that you initialize a request with you have access to the URLResponse, I think that should do the trick. If you figure it out, it could be nice to add a test for that (so that we can also show it to other people in the future).