简体   繁体   English

Weblogic以0000开头返回http响应

[英]Weblogic returning http response starting with 0000

we have a web-application for which sometimes weblogic returns HTML page starting with 0000 and hence browser is not able to render it properly. 我们有一个web应用程序,有时weblogic返回从0000开始的HTML页面,因此浏览器无法正确呈现它。

This is working fine when we have deployed the same application in JBoss. 当我们在JBoss中部署相同的应用程序时,这工作正常。

Any help will be highly appreciated 任何帮助将受到高度赞赏

I know that is old ticket, but since there was no solution posted and it happened to me today, I would like to share our fix. 我知道这是旧票,但由于没有发布解决方案,今天发生在我身上,我想分享我们的解决方案。

In our case(Spring boot app deployed in Weblogic) the solution was that for every put request we return 204 'Accepted' and not 202 'No content' 在我们的案例中(在Weblogic中部署的Spring启动应用程序)解决方案是,对于每个put请求,我们返回204'Accepted'而不是202'No content'

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM