> 2002-01-11 19:03:37 [125] WARNING: WSP: Entity at
> http://213.4.89.19/servlet/SvlInicio?PAsid=PzpXPyp&PAoid=335&f
>
ile=/opt/netscape/server4/https-MCDX_Brasil/docs/campanias/wml/MinhaCidade/i
nicio.wml
> too large (size 1533 B, limit 1400 B)
> Can I change the size limit ?

(Sorry about the cross-post, thought the devel list might have some
comments. Has any work been done on the wapbox recently?)

I think this is do to with the compression that Kannel is using. The device
would seem to have reported that the maximum deck size it was willing to
support was 1400 B. You should be able to see this in the HTTP header
X-WAP-CLient-SDU-Size that was sent with the GET request.

Best solution is better compression in Kannel I'd say, but in the absence of
that if possible you could get your app to examine the header and make a
guess at what the WML it's going to return will compress to. A kludge I
know.

You could try capturing the WML returned before compression, reformatting
with indents, spaces and so on and fetching that as a static deck (sounds
crazy, but try it!) and see what happens. You could also try with some
different phones.

Ian



Reply via email to