Re: Latest CVS problems with wap stack (cookie?)

Andreas Fink <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
On Freitag, Juli 18, 2003, at 12:39  Uhr, Stipe Tolj wrote:

> Hi David,
>
>> 2003-07-18 11:49:20 [10] DEBUG: HTTP: Status line: <HTTP/1.1 301 Moved
>> Permanently>
>
> so wap.sonyericsson.com does reply with a HTTP 301, hence Kannel
> should follow the Location header.
>
>> 6e 74 65 6e 74   chunked..Content
>> 2003-07-18 11:49:20 [10] DEBUG:   data: 2d 54 79 70 65 3a 20 74 65 78 
>> 74
>> 2f 68 74 6d 6c   -Type: text/html
>
> and the response body is text/html encoded, hence
>
>> 2003-07-18 11:49:20 [8] WARNING: WSP: Content type <text/html> not
>> supported by client, deleting body.
>> 2003-07-18 11:49:20 [8] WARNING: WSP: content-type text/plain not 
>> supported
>
> Kannel claims that the content-type is not accepted by the client and
> replies with a non-displayable WSP message.
>
> This effect has nothing to do with cookies, btw.
>
> I just wonder why Kannel's HTTP module did not follow the HTTP
> Location?! Anyone having an idea if the WAP specific HTTP calls are
> reglemented for following the HTTP Location header?!
>

I think the phone should follow the location. There is supposed to be a 
Location:  header in the HTTP response in this case.

Andreas Fink
Global Networks Switzerland AG

------------------------------------------------------------------
Tel: +41-61-6666333  Fax: +41-61-6666334   Mobile: +41-79-2457333
Global Networks, Inc. Clarastrasse 3, 4058 Basel, Switzerland
Web: http://www.global-networks.ch/      [email protected]
------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.