mmm, more or less agree. the main difference this method has wrt a "generic" one which might be called setheaders is that
- it unsets previous headers (which might not always be what you want, as some headers allow duplicate values)
- it takes headers in an unexpected format, name => value being more natural