web-platform-tests/wpt

Creation of a handler which doesn't set a string as response content hangs the server

Open

#8,368 创建于 2017年11月20日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)HTML (2,898 fork)batch import
good first issueinfrapriority:backlogwptserve

仓库指标

Star
 (4,581 star)
PR 合并指标
 (平均合并 6天 7小时) (30 天内合并 626 个 PR)

描述

Originally posted as https://github.com/w3c/wptserve/issues/105 by @whimboo on 28 Oct 2016, 12:22 UTC:

The following handler will cause the server to hang while delivering the page content:

  def handler(request, response):
        response.content = 1
        return ()

This happens because a non-string value gets set as the content.

贡献者指南