mirror of
https://github.com/sdkman/sdkman-cli.git
synced 2026-05-19 14:06:45 -04:00
set plain text header in request
This commit is contained in:
@@ -229,6 +229,7 @@ rm.get("/candidates/:candidate/:version/download", downloadHandler)
|
||||
rm.get("/download/:candidate/:version", downloadHandler)
|
||||
|
||||
def versionHandler = { req ->
|
||||
addPlainTextHeader req
|
||||
req.response.end GVM_VERSION
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user