What is the '-' in multipart/form-data?

前端 未结 4 1353
刺人心
刺人心 2020-12-30 04:06

I want to ask a question about the multipart/form data. I find the http header of multipart post and the Content-Type: multipart/form-data; boundary=-----...---boundaryNumbe

4条回答
  •  离开以前
    2020-12-30 04:57

    It is completely arbitrary.

    The point of the boundary is to define the beginning and ending of your data. It does not matter what it is, as long as it is not part of the content.

提交回复
热议问题