ktorio / ktor

Framework for quickly creating connected applications in Kotlin with minimal effort
https://ktor.io
Apache License 2.0
13.06k stars 1.07k forks source link

Support `100 Continue` #119

Open cy6erGn0m opened 7 years ago

cy6erGn0m commented 7 years ago

We have continue support in netty however it shouldn't be done like that: we have to respond continue (to allow client sending request body) only when handler tries to access request body (call.request.receive()) or at least once request handler has started (that is not exactly correct as user's code could respond 404)

orangy commented 7 years ago

https://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html#sec8.2.3

orangy commented 7 years ago

Introduced receive pipelines now allows this to be implemented in a straightforward manner.

oleg-larshin commented 4 years ago

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.