Add support for empty files, returns status code 204 by default

Fixes issue #35.
Sorry to be that picky, but the coding style is without semicolon where possible and I want to keep it consistent.