jbrave
15 years agoChannel Surfer
Bug? getResponseHeadersArray(string feature)
According to the manual the correct syntax for getResponseHeadersArray is to have a string in the ().
However any string I put in there gives me:
Member function not found in BrightScript Component or interface.
I was hoping I could get just one set of response headers, Set-Cookie (of which there are quite a few) instead of 58 headers which I will need to iterate through looking for that one Set-Cookie that contains the string I'm looking for. If it did work properly, I would still have to do some iteration, just not as much.
Seems that it only works with () instead of ("Set-Cookie") or any other text.
Documentation is on page 97 of the 2.7 SDK Component reference.
- Joel
Object GetResponseHeadersArray(String feature)
• Returns an roArray of roAssociativeArrays. Each associative array contains a single
header name/value pair.
However any string I put in there gives me:
Member function not found in BrightScript Component or interface.
I was hoping I could get just one set of response headers, Set-Cookie (of which there are quite a few) instead of 58 headers which I will need to iterate through looking for that one Set-Cookie that contains the string I'm looking for. If it did work properly, I would still have to do some iteration, just not as much.
Seems that it only works with () instead of ("Set-Cookie") or any other text.
Documentation is on page 97 of the 2.7 SDK Component reference.
- Joel