This PR fixes an issue when multiple cookies are returned in an array (nested inside the response_headers array). We now flatten the array first, and then join all cookies. The joining ensures we are not missing any fingerprints.
This has been tested against endpoints known to have one, multiple and no cookies at all. It seems to be working fine and not throwing any errors. There are also more fingerprints returned, since we now use all cookies for matching.
This PR fixes an issue when multiple cookies are returned in an array (nested inside the response_headers array). We now flatten the array first, and then join all cookies. The joining ensures we are not missing any fingerprints.
This has been tested against endpoints known to have one, multiple and no cookies at all. It seems to be working fine and not throwing any errors. There are also more fingerprints returned, since we now use all cookies for matching.