mp
08/27/2018, 9:52 PMcoder82
08/27/2018, 10:41 PMvincent.brule
08/28/2018, 7:16 AMHttpsRedirect
, when I go to my home page http://{...}/login I have an error because ktor redirect my to https like an infinite loop...amt
08/28/2018, 7:31 PMwouterdoeland
08/29/2018, 3:12 PMcy
08/29/2018, 6:16 PM0.9.4
has been released
* Added multiplatform client support (android and ios)
* Added Android
client engine (UrlConnection
)
* Added OkHttp
client engine (Android support)
* Added Jackson
feature support
* Added Ios
client engine
* Deprecated response.contentType
and response.contentLength
* Strengthened IncomingContent
deprecation
* Upgraded Jetty ALPN, Tomcat
* Fixed config evaluation issues (#488)
* Disabled async incoming upgrade stream at Tomcat
* Prohibited appending unsafe headers to request headers
* Renamed XForwardedHeadersSupport
to XForwardedHeaderSupport
(#547)
* Added HttpResponse.receive<T>
method to run response pipeline on raw response
* Introduced kotlin multiplatform url-parser
* Supported client form data and multipart
* Added missing client builders for post
and put
methods
* Simplify client configuration API
* Fixed several compression issues
* Fixed client attributes evaluation
* Fixed CIO engine random algorithm selection
* Fixed url parsing (#511)
* Fixed ambiguity in writing client Content-Type
and Content-Length
headers
* Minor performance fixes
* Netty HTTP/2 fixes
* Fixed IOOBE in satic resource resolution (#493)
* Fixed JWT error handling
* Kotlin 1.2.61, kotlinx.coroutines 0.25.0Mohit Gurumukhani
08/29/2018, 11:55 PMmkporwit
08/30/2018, 2:30 AMuli
08/30/2018, 9:10 AMByteReadChannel.copyTo(WritableByteChannel)
is documented to only work with blocking NIO channelsvincent.brule
08/30/2018, 10:14 AMvincent.brule
08/30/2018, 10:37 AMvincent.brule
08/30/2018, 12:58 PMvincent.brule
08/30/2018, 1:21 PMmp
08/30/2018, 1:21 PMs.u.l.p.LocaleServiceProviderPool - A locale sensitive service provider returned null for a localized objects, which should not happen. provider: sun.util.cldr.CLDRCalendarDataProviderImpl@c9ab558 locale:
. (Trailing empty string intentional.) When I breakpoint at that log, the stack trace indicates it's from the use of GMTDate()
in the session cookie code. Any thoughts on how to mitigate it?enleur
09/01/2018, 4:04 PMHttpResponse.readText
twice on ktor client? I need to read response body in interceptor for loggingenleur
09/01/2018, 4:57 PMsendPipeline
when creating a new RequestBuilder https://github.com/ktorio/ktor/blob/master/ktor-client/ktor-client-core/src/io/ktor/client/HttpClient.kt#L65 takeFrom
method ignores attributes. So if I pass any attributes on call they got lost on this calljosephivie
09/01/2018, 8:32 PMsuspend
breaks everything. Specifically I'm trying to use ContentConverter
.octylFractal
09/03/2018, 7:11 AMHttpClient#config
? I expected that it would be equivalent to adding the given block to the end of the original config
block, but it instead it overwrites itБежан Александр
09/03/2018, 3:11 PMFailed to find a usable hardware address from the network interfaces
on linux. But it works on Mac. It seems like netty issue, but it should be fixed in netty 4.1.24 that is used by ktor.cmgurba
09/04/2018, 9:35 PMSocketTimeoutException
on my last outgoing http request. Is the proper behavior to explicitly call close()
on the client after all requests for a given "task" are completed, or to call close()
after every request? also if anyone has found more doc/examples than this https://ktor.io/clients/http-client.html it would be appreciated 👍Mohit Gurumukhani
09/05/2018, 12:14 AMMohit Gurumukhani
09/05/2018, 12:19 AMAlbert
09/05/2018, 1:24 PMconnectionGroupSize
to 1 the error disappearsrudolf.hladik
09/05/2018, 2:37 PMimplementation "io.ktor:ktor-client-json:$ktor_version"
implementation "io.ktor:ktor-jackson:$ktor_version"
implementation "io.ktor:ktor-client-jackson:$ktor_version"
implementation "io.ktor:ktor-client:ktor-client-jackson:$ktor_version"
robin
09/05/2018, 3:12 PMhttpClient.head(url)
, just like httpClient.get(url)
doeszpearce
09/05/2018, 3:59 PMwithTestApplication
with HoconApplicationConfig
instead of MapApplicationConfig
?coder82
09/05/2018, 5:38 PMrocketraman
09/05/2018, 5:49 PMjava.lang.VerifyError: Bad type on operand stack
, but only when run from within IJ. When run outside of IJ via gradle, there is no issue. Also running the same app on my Linux box is fine. Anyone have any ideas?zpearce
09/05/2018, 7:15 PMval env = applicationEngineEnvironment {
config = HoconApplicationConfig(ConfigFactory.load())
}
withApplication(env) {
// test code
}
This results in java.lang.UnsupportedOperationException: Packages and file facades are not yet supported in Kotlin reflection. Meanwhile please use Java reflection to inspect this class: class com.zpearce.AppKt
What am I doing wrong? application.conf has the value "ktor.application.modules = [ com.zpearce.AppKt.main ]" in it, if that helpsAntero Duarte
09/06/2018, 4:23 PMengine{ }
. With the Apache engine, is there a way to append a header on every request that is made?Antero Duarte
09/06/2018, 4:23 PMengine{ }
. With the Apache engine, is there a way to append a header on every request that is made?cy
09/06/2018, 4:47 PMDefaultRequest
feature and defaultRequest { ... }
Deactivated User
09/06/2018, 8:24 PMAntero Duarte
09/07/2018, 10:09 AM