Code:
~> mkdir ~/Library/'Application Support'/REAPER/reaper_www_root/foobar
~> curl -v 127.0.0.1:8080/foobar
* Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to 127.0.0.1 (127.0.0.1) port 8080 (#0)
> GET /foobar HTTP/1.1
> Host: 127.0.0.1:8080
> User-Agent: curl/7.63.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Server:reaper_csurf_www/0.1
< Content-Type: application/octet-stream
< Expires: Sat, 23 Nov 2019 15:12:43 GMT
< Content-length: 68
< Connection: keep-alive
<
Since REAPER never sends those 68 bytes it promised, the connection gets stuck until the browser times it out. I would expect this request to try to serve the index.html within the folder or be a 404.