https://kotlinlang.org logo
#http4k
Title
# http4k
r

reactormonk

02/14/2023, 3:27 PM
Is it a bug that http4k doesn't send content-type form when I use
form
on the request?
a

Andrew O'Hara

02/14/2023, 4:11 PM
Are you using the
Request.form
helper, or the
Body.webForm
lens? I'm not 100% sure, but I would only expect the latter to add the content-type.
d

dave

02/14/2023, 6:41 PM
The form method doesn't set the content type as it's a low level operation on request. The higher level operation is done through the link Andrew sent above 🙃
20 Views