More idiomatic default value for dir_prefix
content type header can include charset also