Content-type: multipart/form-data - how is boundary computed

P

Pascal Steiss

Hi All

When my Webbrowser sends (POST) something like

Content-Type: multipart/form-data; boundary=---------------------------
265001916915724

Is this boundary just some random value or what is it?

Thanks
Pascal
 
T

Toby Inkster

Pascal said:
Is this boundary just some random value or what is it?

Yep, it's a random string that is used to separate the parts in a
multipart message.

The only real requirement is that the boundary string doesn't occur
anywhere in the real data that you're sending.

See the MIME RFCs for details.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top