文件操作 - testrpc.py
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/doc/uwsgi-core/tests/testrpc.py
编辑文件内容
import uwsgi def hello(): pass def application(env, start_response): try: uwsgi.register_rpc("A"*300, hello) start_response('500 Buffer Overflow', [('Content-Type', 'text/plain')]) except ValueError: start_response('200 OK', [('Content-Type', 'text/plain')]) return ()
修改文件时间
将文件时间修改为当前时间的前一年
删除文件