Implementing a resource in tuttle requires to write a remove method that needs write access to the resource. In order to avoid setting passord password in the url (eg ftp://user:password@myserver.com/my_resource), we could define distinct configuration file to set passwords to resources. Filed could be structured as a list of lines structured like this :
Implementing a resource in tuttle requires to write a
remove
method that needs write access to the resource. In order to avoid setting passord password in the url (egftp://user:password@myserver.com/my_resource
), we could define distinct configuration file to set passwords to resources. Filed could be structured as a list of lines structured like this :eg :
This is necessary for implementing standard resources