hi peeps ... wondering if anyone out there has an example of multipart/form-data
handling in Yada?
Edge actually has an example for its phonebook PUT updates
oops - I didn't look there 😕
thanks
with my experiments it seems like :body
has the processed form-data but the keys are not coerced ... is that right?
[ makes sense for files of course ]
Yep
are there any helpers / options for this? [ ok if not, just wanted to check ]
There is a special map produced in the ctx called :yada.multipart/parts iirc. It has more part metadata. Look out for it.
ok, thanks ... the bytes for the data in the body seem to include headers which seems a bit weird
for example
I'll check the parts map you mentioned...
seems like :body-offset
is my freind
[ and of course the parts are the same as the body without the keys ]