Test enctype and formenctype attributes