more flexible working with functions
try to set Content-Length before yielding status
"options" sets HTTP 204 status
"set_if_none" renamed to "set_if_not"