Thanks for the hint. I have to investigate because I didn't write the semicolon myself, but just used two Ktor accept() calls:
https://github.com/bitfireAT/dav4jvm/blob/7af9294b16099b8895b57943568f7492553816dd/src/main/kotlin/at/bitfire/dav4jvm/ktor/DavResource.kt#L760-L763
Seems that this has unintended consequences; maybe even a Ktor bug? If the API mustn't be used like that, then it could at least prevent it … but as I understand it, you can use as many accept(...) as you want and ContentNegotation and other plugins also just call accept(...) to add their accepted types.
Originally posted by @rfc2822 in #2621 (reply in thread)
Thanks for the hint. I have to investigate because I didn't write the semicolon myself, but just used two Ktor
accept()calls:https://github.com/bitfireAT/dav4jvm/blob/7af9294b16099b8895b57943568f7492553816dd/src/main/kotlin/at/bitfire/dav4jvm/ktor/DavResource.kt#L760-L763
Seems that this has unintended consequences; maybe even a Ktor bug? If the API mustn't be used like that, then it could at least prevent it … but as I understand it, you can use as many
accept(...)as you want andContentNegotationand other plugins also just callaccept(...)to add their accepted types.Originally posted by @rfc2822 in #2621 (reply in thread)