×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    124

    HTTP header info. What fields can I as a wap developer expect to receive fr

    HTTP header info. What fields can I as a wap developer expect to receive from nokia handsets in the HTTP header?

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    194

    RE: HTTP header info. What fields can I as a wap developer expect to receive fr

    Nokia WAP terminals send identification information and some information about their capabilities to the WAP gateway at the beginning of the session. This information is delivered in WSP headers. The WAP gateway receives the information and deliveres it further to the origin server in HTTP headers with additional information on its own capabilities. Here are two examples of HTTP headers sent by Nokia WAP Server (as a WAP gateway) to the origin server:

    Example 1 (Nokia 6210).
    --------------------
    HEADER_LIST
    Accept: application/vnd.wap.wtls-ca-certificate, application/vnd.wap.wmlscriptc, application/vnd.wap.wmlc, image/vnd.wap.wbmp, text/plain, text/vnd.wap.wmlscript, text/html, text/vnd.wap.wml
    Accept-Language: fi
    Accept-Charset: ISO-8859-1, UTF-8; Q=0.8, ISO-10646-UCS-2; Q=0.6 User-Agent: Nokia6210/1.0 (04.40)
    Via: Nokia WAP Server 1.1.1 (build 2271A)
    X-Network-Info: UDP,security=0
    Accept-Encoding:
    HEADERS
    CONTENT
    --------------------

    Example 2 (Nokia 8310).
    --------------------
    HEADER_LIST
    Accept: application/vnd.wap.wtls-ca-certificate, application/vnd.wap.wmlscriptc, application/x-nokiagamedata, application/vnd.wap.wmlc, image/vnd.wap.wbmp, text/x-vcalendar, text/x-vcard, text/plain, image/gif, text/vnd.wap.wmlscript, text/html, text/vnd.wap.wml
    Accept-Language: fi
    Accept-Charset: ISO-8859-1, UTF-8; Q=0.8, ISO-10646-UCS-2; Q=0.6
    User-Agent: Nokia8310/1.0 (03.05)
    Via: Nokia WAP Server 1.1.1 (build 2271A)
    X-Network-Info: UDP,security=0
    Accept-Encoding:
    HEADERS
    CONTENT
    --------------------

    So you will get a list of supported MIME types, preferred language for the content, a list of charsets, an user agent field (indicates the type of the terminal) etc.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×