The valid characters are defined in RFC 7230 and RFC 3986 怎么解决
时间: 2023-10-19 20:32:39 浏览: 229
这句话的意思是RFC 7230和RFC 3986定义了哪些字符是有效的。这些RFC规范是关于HTTP协议和URI(统一资源标识符)的标准规范。
如果您需要在编写HTTP请求或解析URI时使用字符,请参考这些RFC文档,以确保您正在使用有效的字符。
要解决您遇到的问题,您需要了解您的具体情况和使用场景。如果您有任何进一步的问题或需要更具体的帮助,请告诉我。
相关问题
The valid characters are defined in RFC 7230 and RFC 3986
在RFC 7230和RFC 3986中定义了有效字符。RFC 3986规定,URL只允许包含字母,数字以及四个特殊字符(- _ . ~)。这些字符 ! * ’ ( ) ; : @ & = $ , / ? # [ ] 属于保留字符,所以是非法字符,不能出现在URL地址中。 RFC 7230也提到了URL中的有效字符,但没有具体列出字符列表。因此,有效字符的定义可以通过结合这两个RFC来理解。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [解决Invalid character found in the request ... The valid characters are defined in RFC 7230 and RF](https://blog.csdn.net/ywb201314/article/details/128315057)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [The valid characters are defined in RFC 7230 and RFC 3986-Tomcat解决方案](https://blog.csdn.net/oscar999/article/details/123513119)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
The valid characters are defined in RFC 7230 and RFC 3986
Yes, that is correct. The valid characters for HTTP header field values are defined in RFC 7230, while the valid characters for URIs (Uniform Resource Identifiers) are defined in RFC 3986. These standards define the allowed characters and their encoding for use in HTTP requests and responses, as well as in the construction of URIs for identifying resources on the web. It's important to follow these standards to ensure that the HTTP messages and URIs are valid, interoperable, and can be correctly processed by different systems.
阅读全文