zoukankan      html  css  js  c++  java
  • wap资费页面

    移动网关 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>

  • 相关阅读:
    pandas 和反射联合使用
    反射
    获取Cookie 遇到的问题
    接口自动化之 问题
    接口自动化之 数据库操作
    logging日志模块
    数据驱动 --ddt
    logging--日志打印模块
    APP专项测试5 --PFS
    Monkey 参数
  • 原文地址:https://www.cnblogs.com/xitang/p/3260352.html
Copyright © 2011-2022 走看看