improved handling of POST requests with certain content types

Requests do not always have the data attribute populated by lower WSGI layers.  They do only for certain content types.