Skip to content

Commit

Permalink
fix: Fixed response headers
Browse files Browse the repository at this point in the history
  • Loading branch information
zoemaas committed Aug 14, 2024
1 parent a278819 commit 97a4270
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,22 @@ class TrustChainValidationTest {
Url("https://edugain.org/federation") -> respond(
content = intermediateEntityStatement,
status = HttpStatusCode.OK,
headers = headersOf(HttpHeaders.ContentType, "text/plain")
headers = headersOf(HttpHeaders.ContentType, "application/entity-statement+jwt")
)
Url("https://edugain.org/federation_one") -> respond(
content = intermediateEntityStatement1,
status = HttpStatusCode.OK,
headers = headersOf(HttpHeaders.ContentType, "text/plain")
headers = headersOf(HttpHeaders.ContentType, "application/entity-statement+jwt")
)
Url("https://edugain.org/federation_two") -> respond(
content = trustAnchor,
status = HttpStatusCode.OK,
headers = headersOf(HttpHeaders.ContentType, "text/plain")
headers = headersOf(HttpHeaders.ContentType, "application/entity-statement+jwt")
)
Url("https://edugain.org/federation_three") -> respond(
content = trustAnchor,
status = HttpStatusCode.OK,
headers = headersOf(HttpHeaders.ContentType, "text/plain")
headers = headersOf(HttpHeaders.ContentType, "application/entity-statement+jwt")
)
else -> error("Unhandled ${request.url}")
}
Expand Down

0 comments on commit 97a4270

Please sign in to comment.