Uploaded image for project: 'Repose'
  1. REP-6663

Status Line Message is Dropped from the Origin Service Response

    Details

    • Type: Bug
    • Status: Resolved (View workflow)
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 9.0.0.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Sprint 180 (Oct 25 – Nov 7), Sprint 181 (Nov 8 – Dec 5)
    • Story Points:
      2
    • Capitalizable:
      True

      Description

      The status line message (a.k.a, the reason phrase) from the response from the origin service is not being translated from the HttpClient response into the HttpServletResponse. It should be.

      The code dealing with the HttpClient response to the HttpServletResponse can be found here:
      https://github.com/rackerlabs/repose/blob/master/repose-aggregator/core/repose-core/src/main/java/org/openrepose/nodeservice/httpcomponent/HttpComponentResponseProcessor.java#L56-L66

      Relevant link

      https://rackspace.slack.com/archives/C0NLS33B8/p1537458128000100

      Acceptance Criteria

      • The status line message from the origin service makes it to the client.
      • Docs are added to show how an API can use the Scripting filter to get the old behavior.
        • Recipes for scripts!

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                damien.johnson Damien Johnson
                Reporter:
                damien.johnson Damien Johnson
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: