You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pivot.apache.org by ke...@sz.murata.com.cn on 2010/11/19 08:59:53 UTC

org.apache.pivot.web.QueryException: 411 Length Required

Hi All,

When I ran the post query,I face this problem.

My java control panel network setting is user browse setting.the error
happen,if I change to direct then the post action run normally.Do you have
any Idea?
I use another PC in the same network,both setting can work.
Can pivot in the application to set access network by direct access
override the java control panel?
org.apache.pivot.web.QueryException: 411 Length Required

Many thanks.


Best regards,
Ken Jiang

*******************************************
Murata Electronics Trading  (Shenzhen) Co.,Ltd
Tel:86-755-82847251
E-mail:kenjiang@sz.murata.com.cn
*******************************************


Re: org.apache.pivot.web.QueryException: 411 Length Required

Posted by Greg Brown <gk...@mac.com>.
It seems like your server is returning an error because the "Content-Length" header is missing. Can you try setting this header on the request using getRequestHeaders().put()?

On Nov 19, 2010, at 2:59 AM, kenjiang@sz.murata.com.cn wrote:

> 
> Hi All,
> 
> When I ran the post query,I face this problem.
> 
> My java control panel network setting is user browse setting.the error
> happen,if I change to direct then the post action run normally.Do you have
> any Idea?
> I use another PC in the same network,both setting can work.
> Can pivot in the application to set access network by direct access
> override the java control panel?
> org.apache.pivot.web.QueryException: 411 Length Required
> 
> Many thanks.
> 
> 
> Best regards,
> Ken Jiang
> 
> *******************************************
> Murata Electronics Trading  (Shenzhen) Co.,Ltd
> Tel:86-755-82847251
> E-mail:kenjiang@sz.murata.com.cn
> *******************************************
>