Skip to content

Commit

Permalink
Merge pull request #23 from hmrc/API-7598
Browse files Browse the repository at this point in the history
API-7598: stop removing headers when passing requests through
  • Loading branch information
worthydolt authored Jun 20, 2024
2 parents 6338832 + a5308e7 commit dc2679a
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 dc2679a

Please sign in to comment.