Skip to content

Commit

Permalink
API-7598: stop removing headers when passing requests through
Browse files Browse the repository at this point in the history
  • Loading branch information
worthydolt committed Jun 20, 2024
1 parent 6fcd6cd commit a5308e7
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ class PassThroughController @Inject() (
) extends BackendController(cc) with ApplicationLogger {

def message(path: String): Action[AnyContent] = Action.async { implicit request =>
implicit val hc: HeaderCarrier = HeaderCarrier()

def sendAndProcessResponse(path: String, nodeSeq: NodeSeq): Future[Status] = {
postHttpRequestV2(path, nodeSeq).map {
case Left(UpstreamErrorResponse(_, statusCode, _, _)) =>
Expand Down

0 comments on commit a5308e7

Please sign in to comment.