<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Duplicate Vary Header in response in cybersource APIs</title>
    <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Duplicate-Vary-Header-in-response/m-p/89957#M1681</link>
    <description>&lt;P&gt;I've only just started working with the Cybersource APIs and hit this problem immediately. I'm calling&amp;nbsp;PostCustomerRequest() in the C# sample project and getting the error in&amp;nbsp;PostCustomerWithHttpInfo() in the Cybersource SDK. I'm getting those same three 'vary' headers.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Aug 2024 13:00:41 GMT</pubDate>
    <dc:creator>ahuey-shi-1</dc:creator>
    <dc:date>2024-08-20T13:00:41Z</dc:date>
    <item>
      <title>Duplicate Vary Header in response</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Duplicate-Vary-Header-in-response/m-p/89901#M1660</link>
      <description>&lt;P&gt;Hello, My rest calls (using the c# rest API) have begun crashing because of a duplicate Vary header being returned from the test environment.&amp;nbsp; For example, a call to&amp;nbsp;GetCustomerPaymentInstrumentsList or GetCustomer results in an exception because of the following headers in the response:&amp;nbsp;&lt;BR /&gt;HTTP/1.1 200&lt;BR /&gt;uniqueTransactionID: 48005e02-cd90-4c13-8631-e602fd8037fa&lt;BR /&gt;&lt;STRONG&gt;Vary: Origin&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Vary: Access-Control-Request-Method&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Vary: Access-Control-Request-Headers&lt;/STRONG&gt;&lt;BR /&gt;Set-Cookie: JSESSIONID=xxxxxxA608xxxxDB6E4F9FE23FD490ED; Path=/; Secure; HttpOnly&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The data in the response is correct, but those headers should be a single comma delimited value.&lt;/P&gt;&lt;P&gt;These Vary headers were not present in the same form a few days prior,&lt;/P&gt;&lt;P&gt;Was there a recent change to the test environment? (&lt;A href="https://apitest.cybersource.com" target="_blank"&gt;https://apitest.cybersource.com&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;I suppose I can edit the client library to handle those additional Vary headers, but I think they may be incorrect.&lt;/P&gt;&lt;P&gt;Code fragment :&amp;nbsp; PostCustomerRequest result = apiInstance.GetCustomer(customerTokenId);&lt;/P&gt;&lt;P&gt;Result: Exception: "An item with the same key has already been added. Key: Vary'"&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 16:36:55 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Duplicate-Vary-Header-in-response/m-p/89901#M1660</guid>
      <dc:creator>fdcyber</dc:creator>
      <dc:date>2024-08-13T16:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Vary Header in response</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Duplicate-Vary-Header-in-response/m-p/89903#M1662</link>
      <description>&lt;P&gt;The&amp;nbsp;RetrieveCustomer Sample from cybersource-rest-samples-netcore also now fails with the same exception.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 19:45:03 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Duplicate-Vary-Header-in-response/m-p/89903#M1662</guid>
      <dc:creator>fdcyber</dc:creator>
      <dc:date>2024-08-13T19:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Vary Header in response</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Duplicate-Vary-Header-in-response/m-p/89957#M1681</link>
      <description>&lt;P&gt;I've only just started working with the Cybersource APIs and hit this problem immediately. I'm calling&amp;nbsp;PostCustomerRequest() in the C# sample project and getting the error in&amp;nbsp;PostCustomerWithHttpInfo() in the Cybersource SDK. I'm getting those same three 'vary' headers.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 13:00:41 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Duplicate-Vary-Header-in-response/m-p/89957#M1681</guid>
      <dc:creator>ahuey-shi-1</dc:creator>
      <dc:date>2024-08-20T13:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Vary Header in response</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Duplicate-Vary-Header-in-response/m-p/89974#M1684</link>
      <description>&lt;P&gt;We are also running into this in the sandbox environment.&amp;nbsp; This currently breaks the C# REST SDK.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 16:13:24 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Duplicate-Vary-Header-in-response/m-p/89974#M1684</guid>
      <dc:creator>john_s_wu</dc:creator>
      <dc:date>2024-08-21T16:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Vary Header in response</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Duplicate-Vary-Header-in-response/m-p/89979#M1685</link>
      <description>&lt;P&gt;I am as well, got a note from support saying they have updated in sandbox to fix, but not seeing it fixed.&amp;nbsp; I will update my case there that it continues to return multiple vary headers and the C# client is using a dictionary to capture them. . .&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 01:36:15 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Duplicate-Vary-Header-in-response/m-p/89979#M1685</guid>
      <dc:creator>jbruckart</dc:creator>
      <dc:date>2024-08-22T01:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Vary Header in response</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Duplicate-Vary-Header-in-response/m-p/89999#M1693</link>
      <description>&lt;P&gt;I see a fix pending in a branch on the client libraries.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 18:38:37 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Duplicate-Vary-Header-in-response/m-p/89999#M1693</guid>
      <dc:creator>fdcyber</dc:creator>
      <dc:date>2024-08-23T18:38:37Z</dc:date>
    </item>
  </channel>
</rss>

