Is there a way we can read the response headers when using the HttpUtils2 library?
I'm still having to use the class/service and the HttpUtils2Service.ResponseHeaders map.
Sub hc_ResponseSuccess (Response As HttpResponse, TaskId As Int)
Response.GetAsynchronously("response", File.OpenOutput(TempFolder, TaskId, False), _
True, TaskId)
Dim job As HttpJob = TaskIdToJob.Get(TaskId)
job.Tag = Response.GetHeaders
End Sub
Now you will be able to get the headers in JobDone with this code:
Thanks Erel, this is what I'm doing using the class module and service.
I was just wondering if there was a way of getting the headers using the library instead.