Web services 基于Restful spring的MVC请求的最大长度
我想知道,对于基于Spring MVC的restful web服务,请求数据的最大长度是否有任何限制,即是否有任何限制规定单个请求不应包含超过一定数量的字符Web services 基于Restful spring的MVC请求的最大长度,web-services,spring-mvc,restful-architecture,Web Services,Spring Mvc,Restful Architecture,我想知道,对于基于Spring MVC的restful web服务,请求数据的最大长度是否有任何限制,即是否有任何限制规定单个请求不应包含超过一定数量的字符 class Example { public static void main(String args[]) { System.out.println("This is a simple Java program."); } } 根据3.2.1通用语法: 注意:服务器在依赖超过255字节的URI长度时应
class Example {
public static void main(String args[]) {
System.out.println("This is a simple Java program.");
}
}
根据3.2.1通用语法: 注意:服务器在依赖超过255字节的URI长度时应该谨慎,因为一些旧的客户端或代理实现可能无法正确支持这些长度 就我个人而言,为了安全起见,我总是将HTTP GET请求的长度保持在256以下,尽管这在当今并不实用。我认为2048年是可以接受的这些天