Jboss Wildfly 9.*是否支持范围请求?

Jboss Wildfly 9.*是否支持范围请求?,jboss,http-headers,httprequest,wildfly,Jboss,Http Headers,Httprequest,Wildfly,如前所述,wildfly 9.x(undertow)服务器支持范围请求。。但在我的情况下不起作用,你可以在下面看到。 有人知道它是否真的在wildfly上有效吗?我如何使它有效 curl -I http://localhost:8080/stairs.mp4   HTTP / 1.1 200 OK Connection: keep-alive Last-Modified: Mon, 09 Nov 2015 13:35:29 GMT X-Powered-By: Undertow / 1 Serve

如前所述,wildfly 9.x(undertow)服务器支持范围请求。。但在我的情况下不起作用,你可以在下面看到。 有人知道它是否真的在wildfly上有效吗?我如何使它有效

curl -I http://localhost:8080/stairs.mp4
 
HTTP / 1.1 200 OK
Connection: keep-alive
Last-Modified: Mon, 09 Nov 2015 13:35:29 GMT
X-Powered-By: Undertow / 1
Server: WildFly / 9
Content-Type: video / mp4
Content-Length: 2890554
Date: Thu, 12 Nov 2015 17:29:53 GMT

我不是专家,但您不需要在请求中添加
内容范围
标题吗?e、 g.
range bytes=1-3
。即使服务器应该在头中响应
Accept Ranges:bytes
,正如您所看到的,我也尝试使用,
curl-i-r 20-40指定字节范围http://localhost:8080/stairs.mp4
curl--header“范围:字节=20-40”http://localhost:8080/stairs.mp4
,我不是专家,但是你不需要在你的请求中添加
内容范围
标题吗?e、 g.
range bytes=1-3
。即使服务器应该在头中响应
Accept Ranges:bytes
,正如您所看到的,我也尝试使用,
curl-i-r 20-40指定字节范围http://localhost:8080/stairs.mp4
curl--header“范围:字节=20-40”http://localhost:8080/stairs.mp4
,但得到了与原始帖子中提到的相同的回复。