Fix duplicate header attributes due to case sensitive issues
WIP: Trying to fix upload file test. Test disabled.