喜糖

移动开发工程师 。涉及 android、ios、jni

导航

wap资费页面

Posted on 2013-08-15 18:16  喜糖  阅读(259)  评论(0编辑  收藏  举报

移动网关 CMWAP 返回vnd.wap.wml

用CMWAP接入点发一个http的请求时,移动的10.0.0.172这个代理网关会回一个确认页面,中国特色。处理的办法是检测到Content-type里面有个 vnd.wap.wml就重新发一次请求即可。

 

HTTP/1.1 200 OK [ZTEOSE]

Server: ZTEOSE

Date: Fri, 30 Jul 2010 03:17:40 GMT

Server: WebLogic Server 8.1 SP3 Tue Jun 29 23:11:19 PDT 2004 404973 with CRs:

Set-Cookie: jid=MSGJcGhTnn!-1364373626; path=/

Content-Length: 504

Content-Type: text/vnd.wap.wml;charset=UTF-8

 

<?xml version="1.0"?>

<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">

<wml>

<head>

<meta http-equiv="Cache-Control" content="max-age=0" forua="true"/>

<meta http-equiv="Cache-Control" content="no-cache" forua="true"/>

<meta http-equiv="Cache-Control" content="must-revalidate" forua="true"/>

</head>

<card id="card" title="" >

<onevent type="onenterforward">

<go href="http://mp.wap.sohu.com:80/api/g.do?t=60587"></go></onevent>

</card>

</wml>