Hello,
I need to get the http headers in a POST to a servive.
I found a similar thread with this problem in B4A, and there was a request to add that function to the lib http2utils
Is there any way to read http headers in B4J ?
Sub hc_ResponseSuccess (Response As OkHttpResponse, 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