web-platform-tests/wpt

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

Open

#8.368 aberto em 20 de nov. de 2017

Ver no GitHub
 (3 comments) (0 reactions) (0 assignees)HTML (2.898 forks)batch import
good first issueinfrapriority:backlogwptserve

Métricas do repositório

Stars
 (4.581 stars)
Métricas de merge de PR
 (Mesclagem média 5d 23h) (682 fundiu PRs em 30d)

Description

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.

Guia do colaborador