How can I get the headers from the response in a non-ui application ?
I recall that Erel provided a code to replace in the Httputils source to expose the headers, but how can i do it in non UI app ?
code provided by Erel
I recall that Erel provided a code to replace in the Httputils source to expose the headers, but how can i do it in non UI app ?
code provided by Erel
B4X:
Sub hc_ResponseSuccess (Response As HttpResponse, TaskId As Int)
Dim job As HttpJob = TaskIdToJob.Get(TaskId)
job.Tag = Response.GetHeaders
Response.GetAsynchronously("response", File.OpenOutput(TempFolder, TaskId, False), _
True, TaskId)
End Sub