Wildfly server:Partial Content and Range Requests

2019-05-30 08:11发布

Is there a way for wildfly server support http range header? We are requesting file for server with http get and http header "Range: bytes 200-400"

The files that served from apache tomcat server responds http status code 206 and partial file content but wildfly server responds same request with http status code 200 and all file content. Since we are using big files it becomes a problem to transfer and seek file. Is there any way to make wildfly support partial requests via configuration, plugin, module or a servlet code?

I am open to any suggestions.

Thanks.

We are using: wildfly 8.0.1 version

1条回答
闹够了就滚
2楼-- · 2019-05-30 09:09

Support for range requests was added to undertow(web server used in WildFly) in version 1.2.

Version 1.2 included in WildFly 9.

WildFly 9 CR1 is out, with .Final version coming in few days.

so in short, upgrade to WildFly 9

查看更多
登录 后发表回答