fix: ホストのポート番号がおかしくなるのでとりあえず削除

This commit is contained in:
usbharu 2023-04-29 15:52:59 +09:00
parent 068cbbc076
commit 08f45e1a8e
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ val httpSignaturePlugin = createClientPlugin("HttpSign", ::HttpSignaturePluginCo
request.header("Date", format.format(Date())) request.header("Date", format.format(Date()))
request.header("Host",request.url.host+request.url.port.toString()) request.header("Host", "${request.url.host}")
println(request.bodyType) println(request.bodyType)
println(request.bodyType?.type) println(request.bodyType?.type)
if (request.bodyType?.type == String::class) { if (request.bodyType?.type == String::class) {