Status Line Message is Dropped from the Origin Service Response

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!

Environment

None
100% Done
Loading...

Activity

Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Capitalizable

True

Story Points

Time remaining

0h

Sprint

Fix versions

Priority

Created February 26, 2018 at 3:14 PM
Updated January 29, 2019 at 7:09 PM
Resolved December 3, 2018 at 3:24 PM