python - Can I serve a multipart http response in Flask? -



python - Can I serve a multipart http response in Flask? -

i want multipart http response similar multipart http requests forms can produce file uploads. contain multiple info segments, each own content type. when google this, find information on streaming.

i don't care if browsers back upwards this, since it's client using libcurl. however, i'm not sure if libcurl supports multipart responses either. it? multipart responses thing can do?

you seem asking @ to the lowest degree 2 different things here. i'm going reply 1 that's in title: can flask send multipart responses? (if need know whether/how libcurl supports multipart responses, either seek , see, or inquire separate question.)

of course of study can. if there's no flask extension automate (i haven't searched see whether there is), there's nil stopping from, e.g., using email bundle in stdlib generate mime envelope manually, , serving appropriate content-type.

python curl flask multipart

Comments

Popular posts from this blog

javascript - I need to update the text of a paragraph by inline edit -

javascript - THREE.js reposition vertices for RingGeometry -

assembly - What is the addressing mode for ld, add, and rjmp instructions? -