WIP add content_upload_resource

Again, work in progress. Needs tests.