Files
shiny/R
Joe Cheng c2b3c3379d Fix #1824: HEAD request on static files causes app to stop (#1825)
* 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
2017-08-23 13:01:22 -05:00
..
2017-07-27 14:54:55 -05:00
2017-08-21 19:55:48 -05:00
2016-03-08 16:54:28 -06:00
2017-01-25 23:45:26 +00:00
2014-02-11 22:59:37 -06:00
2015-12-10 15:11:03 -06:00
2015-09-09 12:12:47 -07:00
2016-08-12 21:26:18 -05:00
2017-08-04 15:10:08 +01:00
2016-09-16 23:39:26 -05:00
2017-01-31 20:36:28 -06:00
2016-08-11 11:58:07 -07:00
2017-08-21 19:55:48 -05:00
2017-08-21 19:55:48 -05:00
2017-08-21 19:55:48 -05:00
2017-08-04 15:09:00 +01:00