fixes #328 - PUT/POST need reversed in lib/assetmanager.js