add support for CSRF Token protection when uploading for back-ends that
require it (eg.: Rails)