When I grab the headers from an OkHttpResponse and get a value from it, the value is wrapped in [ and ], which isn't what the server sent.
Example response from server:
HTTP/1.1 200 OK
Host: 192.168.50.13:8100
Date: Mon, 09 May 2022 09:47:07 +0000
Connection: close
X-Powered-By: PHP/7.1.33-44+0~20211119.61+debian10~1.gbp448fbe
Cache-Control: no-cache
Date: Mon, 09 May 2022 09:47:07 GMT
Content-Type: text/html; charset=UTF-8
And when I grab the value of one of the headers...
Dim headers As Map = Response.GetHeaders
Log(headers.Get("x-powered-by"))
...it's wrapped in [ and ], like so:
[PHP/7.1.33-44+0~20211119.61+debian10~1.gbp448fbe]
It's obviously not difficult to peel off the [ and ], but I'm wondering if I'm missing something obvious? I expect to get the actual value, not the value with a little something added in the front and back.
I thought I'd ask before reporting this as a bug.