serebit
12/27/2018, 1:43 PMdavid.bilik
12/28/2018, 8:32 AMHttpClient
class in IntelliJ Idea .. it is marked in red like if it was an error, but all compiles ok and intellisense works too. any ideas? 😕 I am using gradlespierce7
12/28/2018, 4:40 PMContentNegotiation
feature for kotlinx.serialization. Has anyone benchmarked it against jackson?christophsturm
12/28/2018, 5:07 PMwithTestApplication
?spierce7
12/28/2018, 10:32 PMwatchPaths
for production for performance reasons. Is there a flag to indicate production use, or do I need to provide an if block, and provide an empty list for watchPaths
in production?Robert Menke
12/29/2018, 6:45 PM/var/www/html
Node: uses /var/app
is there a standard or recommended practice for ktor apps?bdawg.io
12/29/2018, 10:10 PM/srv
directory defined by the FHS (Filesystem Hierarchy Standard) since 2004 which most Linux distros follow
contains site-specific data which is served by this system./srv
bod
12/30/2018, 2:52 PMorangy
miha-x64
12/31/2018, 1:10 PMauthentication {
basic/digest("someName") { ... }
}
...
authenticate("someName")
why on earth not use static typing and symbol resolving? For instance:
val someAuth = basicAuth { ... }
...
authenticate(someAuth) { ... }
poohbar
12/31/2018, 8:14 PMinstall(CORS)
?Ramin
01/01/2019, 4:48 PMserebit
01/01/2019, 8:47 PMgotoOla
01/02/2019, 7:09 AMinstall(ContentNegotiation) {
jackson {
}
}
but then I get unsupported media type when posting with text/plain. Would like to support both of these formats as default
…my google wizardry is starting to drain 😞dalexander
01/02/2019, 5:39 PMpandawarrior
01/03/2019, 10:34 AMContent-Length
. May I know how can I put it in please?amt
01/04/2019, 1:46 AMgotoOla
01/04/2019, 12:37 PMbjonnh
01/04/2019, 9:07 PMorangy
qlitzler
01/05/2019, 3:53 PMrocketraman
01/05/2019, 5:14 PMOutputStream
, with the stack:
"DefaultDispatcher-worker-5@10353" daemon prio=5 tid=0x69 nid=NA waiting
java.lang.Thread.State: WAITING
at sun.misc.Unsafe.park(Unsafe.java:-1)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:338)
at kotlinx.coroutines.io.jvm.javaio.BlockingAdapter.parkingLoop(Blocking.kt:235)
at kotlinx.coroutines.io.jvm.javaio.BlockingAdapter.submitAndAwait(Blocking.kt:215)
at kotlinx.coroutines.io.jvm.javaio.BlockingAdapter.submitAndAwait(Blocking.kt:186)
at kotlinx.coroutines.io.jvm.javaio.OutputAdapter.write(Blocking.kt:108)
- locked <merged>(a kotlinx.coroutines.io.jvm.javaio.OutputAdapter)
at java.io.OutputStream.write(OutputStream.java:75)
at [...code that writes to OutputStream...]
at io.ktor.client.engine.cio.UtilsKt.write(utils.kt:55)
at io.ktor.client.engine.cio.Endpoint$makeDedicatedRequest$1.invokeSuspend(Endpoint.kt:108)
[...]
My call to OutputStream
for testing is simply write(bytes)
where bytes is a ByteArray
.miha-x64
01/05/2019, 6:01 PMerror
in URL getting infinitely redirected to OAuth provider and back. What am I doing wrong?sngrekov
01/06/2019, 3:17 PMDominaezzz
01/06/2019, 6:22 PMktor-client-curl
going to be published?Vinicius Carvalho
01/07/2019, 5:20 PM@Location
query parameters?dave08
01/08/2019, 11:39 AM//ktor-client
implementation "io.ktor:ktor-client-core:$ktor_version"
implementation "io.ktor:ktor-client-apache:$ktor_version"
implementation "io.ktor:ktor-client-json:$ktor_version"
testCompile "io.ktor:ktor-server-test-host:$ktor_version"
dave08
01/08/2019, 12:25 PMfkrauthan
01/09/2019, 8:33 PMwilyarti
01/10/2019, 8:23 AM