This changes the test on a filehandle to respond to the filestat for size when it does return a result. The is_real_fh function would fail this is cases where it is valid. is_real_fh will protect where relevant. Notably this is used in Twiggy::Server for AIO.
let an http-exception object that ->can("as_psgi") recieve the psgi $…
…env as its first argument
test case for as_psgig
handle the pathological case where a http exception responds with a o…
…ther and so on
documented and created test case for when the exception occurs midway…
… through a streamed response
Relax content size check on file handle
Merge branch 'master' of https://github.com/jjn1056/Plack
Coverage remained the same when pulling 29fdc14 on snakierten96:master into 7dafe51 on plack:master.
Coverage decreased (-0.04%) when pulling 29fdc14 on snakierten96:master into 7dafe51 on plack:master.
Coverage increased (+0.13%) when pulling 438dbee on snakierten96:master into 7dafe51 on plack:master.