Fixed typo-related bug with custom HTTP headers