now raise AttributeError instead of TypeError, for consistency with their pure-Python equivalent.
Attach a file by drag & drop or click to upload