dylan-lang/http — pull request #61 by kibook (2014-06-09 01:09:48+00:00)
Title: Invoke specialized write for <response>

The `` type has a specialized version of `write` and `write-element` defined in `server/core/response.dylan` for `` and ``, but `copy-to-end` here instead called a more generic version for `` and ``.

This meant the `` was being written to as a normal stream, instead of using the `maybe-send-chunk` method and writing to `response.response-stream`.

Coercing the parameters to the types expected by the `write` and `write-element` methods in `server/core/response.dylan` fixes an issue with `` serving static files.