Get headers of url connection

from Jeremie Leroy
Documentation isn’t clear about this but ResponseHeaders is a Pair

This should work better:

Var headers() as String
For each header as pair in me.ResponseHeaders
  
  headers.Add header.Left + ": " + header.Right
  
Next

Var allHeaders as String = String.FromArray(headers, Endofline)

was

Sub HeadersReceived(URL As String, HTTPStatus As Integer) Handles HeadersReceived
  beep
End Sub