Fixed: doctype name in request should be lowercased