ByteZ
02/09/2022, 3:23 PMX-GitHub-Event
but the server receives X-Github-Event
with a lower case h. I've contacted GitHub support and they said it's caused by the receiving server. If it Is caused by ktor, is there a way to keep the original names?spand
02/09/2022, 3:59 PMByteZ
02/09/2022, 4:14 PMAleksei Tirman [JB]
02/11/2022, 8:33 AMX-GitHub-Event: 123
to a Ktor server with the following code:
routing {
get("/") {
call.request.headers.forEach { s, strings -> println(s) }
}
}
then the following is printed:
Host
User-Agent
Accept
Accept-Charset
X-GitHub-Event
content-length
ByteZ
02/11/2022, 12:09 PM