Uploaded image for project: 'Xray for Jira Cloud'
  1. Xray for Jira Cloud
  2. XRAYCLOUD-3111

The Retry-After value that is sent and displayed in the header response is not according to the standard regex

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Done
    • 1.015.001-6
    • 1.015.001-7
    • REST API
    • STG, Live - All browsers

    • XRAYCLOUD 2021 Sprint 3

    Description

      Short Description: The Retry-After value that is sent and displayed in the header response is not according to the standard regex. The value should be a "a non-negative decimal integer", i.e., meaning that should be a value written in base 10 and integer (e.g. 45; 8; 90). Currently, we are sending floot values (e.g 0.890) which are decimal but not integer.

      Steps to Reproduce:

      1 - Sent a Graphlq request, for example, in order to cause a 429 too many requests.

      2 - When the response error appears, check the header for the retry-value.

      Actual Results: A floot number is displayed (decimal but not integer).

      Expected Results: The value should be decimal integer (expressed in base 10 and integer - 45).

      Attachments

        Activity

          People

            apsp Ana Patricio
            apsp Ana Patricio
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 35 minutes
                35m