start of file support
fixed empty headers for loading resource