Set the correct headers for browser requests