zk1931/pulsed — pull request #28 by EasonLiao (2014-12-07 05:14:16+00:00)
Title: don't return html for error response

the response header already contains the error message (HTTP/1.1 404 /michi2 doesn't exist), so we probably don't need to return the html response. in the future we might want to return more detailed error message in json or something.

```
% curl localhost:8080/michi2/test -XPUT -d 'hello' -v
> PUT /michi2/test HTTP/1.1
> User-Agent: curl/7.32.0
> Host: localhost:8080
> Accept: */*
> Content-Length: 5
> Content-Type: application/x-www-form-urlencoded
>
< HTTP/1.1 404 /michi2 doesn't exist
< Date: Sat, 06 Dec 2014 21:07:29 GMT
< Cache-Control: must-revalidate,no-cache,no-store
< Content-Type: text/html; charset=ISO-8859-1
< Content-Length: 301
< Server: Jetty(9.2.z-SNAPSHOT)
<

Error 404

HTTP ERROR: 404

Problem accessing /michi2/test. Reason:

/michi2 doesn't exist

Powered by Jetty://

```