mirror of
https://github.com/sdkman/sdkman-cli.git
synced 2026-01-31 01:32:55 -05: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