davidasync
02/20/2019, 7:12 AMfuel http client
?
I dont know why
fuel http header set the value as array of string instead of normal string
for example {Origin=[abc], Content-Type=[application/json]
instead of {Origin=abc, Content-Type=application/json
is there any method to overide it to not use array of string?gildor
02/20/2019, 7:12 AMsitepodmatt
02/20/2019, 7:21 AMdavidasync
02/20/2019, 7:43 AMlistOf
?gildor
02/20/2019, 7:46 AM;
and you cannot change this behaviordavidasync
02/20/2019, 8:02 AMI’m not familiar with fuel, but what exactly wrong with array of strings instead of string? I believe it just supports multiple values separated with `;` and you cannot change this behavior
because the host http server cannot accept header value as array
gildor
02/20/2019, 8:16 AMbecause the host http server cannot accept header value as arrayBut how does resulting header in the request looks like? Your example above is just a header representation in code, server cannot accept header in this format too:
{Origin=abc, Content-Type=application/json}
, header is just a string, not even 2 strings