|Subject:||causes duplicate cookies|
when debugging a failed request that ::Determined had retried several time, I noticed that all the cookie headers were duplicated the same number of times that the request had been retried. I tried with different timing() values to confirm. I think this can be trace back to LWP's use of a handler to set the cookies. It runs every time the request enters the request_prepare phase.