add support for global upload headers