Tornado Documentation
http://www.v2ex.com/tornado/
Tornado on GitHub
https://github.com/facebook/tornado/
Tornado Gists
http://tornadogists.org/
qiukun
V2EX  ›  Tornado

浏览器直接把头显示出来了

  •  
  •   qiukun · Oct 16, 2013 · 6734 views
    This topic created in 4594 days ago, the information mentioned may be changed or developed.
    Status: 200 OK
    Etag: "099a00a6bedbab1723c091838e272d761d150675"
    Content-Length: 48
    Date: Wed, 16 Oct 2013 14:52:06 GMT
    Server: TornadoServer/3.2.dev2
    Content-Type: application/json; charset=UTF-8

    {"precip": 0, "temp": 0, "error": 0, "aqi": 131}

    =-= 为啥吖吖吖吖吖
    4 replies    1970-01-01 08:00:00 +08:00
    zzNucker
        1
    zzNucker  
       Oct 16, 2013
    网页问题吧
    v88ex
        2
    v88ex  
       Oct 16, 2013
    你用Chrome 控制台进入network。 看下返回的header的Content-Type是什么?
    darasion
        3
    darasion  
       Oct 16, 2013
    感觉可能是有特殊字符破坏了协议。
    edwardzhu
        4
    edwardzhu  
       Oct 17, 2013
    已经解决了。。感谢qiukun大神帮我提问以及帮我解决问题。
    刚才忘了看记录,里面写了 urlfetch_stub.py:428] Stripped prohibited headers from URLFetch request: ['Host'] 。
    原因是tornado的GAE没有设置正确,不能听信随便找的博客,还是要按官方教程来。谢谢楼上的回答。
    但是具体是怎样的还不清楚。。总之能用了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2822 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 10:50 · PVG 18:50 · LAX 03:50 · JFK 06:50
    ♥ Do have faith in what you're doing.