Looking at the Werkzeug source at that revision [1], seems this is a
documentation bug in Werkzeug. The actual attribute is "content_type",
and "content_length" also exists. This seems to be the same in tip. I
have no idea if the docs have changed for the newer unreleased versions.
> Similarly, attachment.data does not work but attachment.read() does
"data" I am not sure about, are you getting the same exception?
Ali
[1]
http://dev.pocoo.org/projects/werkzeug/browser/werkzeug/utils.py?rev=663%3Aa93240c851ab#L421