mirror of
https://github.com/rstudio/shiny.git
synced 2026-02-07 21:26:08 -05:00
* Fix #1824: HEAD request on static files causes app to stop The problem was that for HEAD requests specifically, we implement an explicit Content-Length header (normally we let httpuv figure out the Content-Length based on the content, but for HEAD we don't return any content but still want to include the Content-Length). The Content-Length header was only implemented correctly for string values, not for raw vectors or file-by-path. This change implements the value correctly for all currently valid httpuv content. * Update NEWS * Code review feedback
13 KiB
13 KiB