创建多部分表格边界的有效字符是什么? [英] What are valid characters for creating a multipart form boundary?
本文介绍了创建多部分表格边界的有效字符是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在HTML表单中,用于创建多部分边界的有效字符是什么?
In an HTML form post what are valid characters for creating a multipart boundary?
推荐答案
根据 RFC 2046 ,第5.1.1节:
According to RFC 2046, section 5.1.1:
boundary := 0*69<bchars> bcharsnospace
bchars := bcharsnospace / " "
bcharsnospace := DIGIT / ALPHA / "'" / "(" / ")" /
"+" / "_" / "," / "-" / "." /
"/" / ":" / "=" / "?"
因此它的长度可以在1到70个字符之间,由字母数字和在列表中看到的标点组成.除末尾外,都允许有空格.
So it can be between 1 and 70 characters long, consisting of alphanumeric, and the punctuation you see in the list. Spaces are allowed except at the end.
这篇关于创建多部分表格边界的有效字符是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文