Cleanups
This commit is contained in:
parent
aa30d71d73
commit
cdf5671c6b
7 changed files with 16 additions and 25 deletions
10
CHANGES
10
CHANGES
|
@ -2,8 +2,12 @@
|
|||
CHANGES
|
||||
=======
|
||||
|
||||
0.4.0 alpha
|
||||
===========
|
||||
0.5.0
|
||||
=====
|
||||
<Not yet started>
|
||||
|
||||
|
||||
0.4.0
|
||||
=====
|
||||
|
||||
See http://code.google.com/p/wsgidav/wiki/ChangeLog04
|
||||
|
|
@ -116,5 +116,3 @@ send a query to the mailing list.
|
|||
|
||||
Project Page: WsgiDAV <http://wsgidav.googlecode.com/>
|
||||
|
||||
Mailing List: pyfilesync-users@lists.berlios.de (subscribe
|
||||
<http://lists.berlios.de/mailman/listinfo/pyfilesync-users>)
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
Thanks
|
||||
======
|
||||
|
||||
Ho Chun Wei, original PyFileServer Project:
|
||||
|
||||
* Ian Bicking <ianb(at)colorstudy.com>: For mentoring this project
|
||||
|
||||
* Julian Reschke <julian.reschke(at)gmx.de>: For your valuable help in
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
#__all__ = ['mainappwrapper',
|
||||
# 'request_server',
|
||||
# 'processrequesterrorhandler',
|
||||
## 'httpdatehelper',
|
||||
# 'util',
|
||||
# 'request_resolver',
|
||||
# 'http_authenticator',
|
||||
# 'domain_controller',
|
||||
# 'loadconfig_primitive',
|
||||
# 'property_manager',
|
||||
# 'lock_manager',
|
||||
# 'fileabstractionlayer',
|
||||
# 'websupportfuncs',
|
||||
# 'wsgiapp']
|
|
@ -3,7 +3,7 @@
|
|||
"""Unit tests for wsgidav.util"""
|
||||
|
||||
from unittest import TestCase, TestSuite, TextTestRunner
|
||||
from wsgidav.util import *
|
||||
from wsgidav.util import * #@UnusedWildImport
|
||||
|
||||
class BasicTest(TestCase):
|
||||
"""Test ."""
|
||||
|
|
|
@ -80,8 +80,8 @@ If no config file is found, a default FilesystemProvider is used."""
|
|||
#paste.httpserver, wsgiref.simple_server) or uses our built-in
|
||||
#ext_wsgiutils_server.py."""
|
||||
|
||||
epilog = """Licensed under LGPL.
|
||||
See http://wsgidav.googlecode.com for additional information."""
|
||||
# epilog = """Licensed under LGPL.
|
||||
#See http://wsgidav.googlecode.com for additional information."""
|
||||
|
||||
parser = OptionParser(usage=usage,
|
||||
version=__version__,
|
||||
|
@ -229,6 +229,8 @@ def _initConfig():
|
|||
if config_file:
|
||||
# Add config file changes
|
||||
reloader.watch_file(config_file)
|
||||
# import pydevd
|
||||
# pydevd.settrace()
|
||||
|
||||
return config
|
||||
|
||||
|
|
|
@ -14,7 +14,6 @@ See DEVELOPERS.txt_ for more information about the WsgiDAV architecture.
|
|||
|
||||
.. _DEVELOPERS.txt: http://wiki.wsgidav-dev.googlecode.com/hg/DEVELOPERS.html
|
||||
"""
|
||||
from urllib import quote
|
||||
from dav_error import DAVError, getHttpStatusString, HTTP_BAD_REQUEST
|
||||
from pprint import pprint
|
||||
from wsgidav.dav_error import HTTP_PRECONDITION_FAILED, HTTP_NOT_MODIFIED
|
||||
|
@ -457,10 +456,10 @@ def makeCompleteUrl(environ, localUri=None):
|
|||
if environ["SERVER_PORT"] != "80":
|
||||
url += ":" + environ["SERVER_PORT"]
|
||||
|
||||
url += quote(environ.get("SCRIPT_NAME",""))
|
||||
url += urllib.quote(environ.get("SCRIPT_NAME",""))
|
||||
|
||||
if localUri is None:
|
||||
url += quote(environ.get("PATH_INFO",""))
|
||||
url += urllib.quote(environ.get("PATH_INFO",""))
|
||||
if environ.get("QUERY_STRING"):
|
||||
url += "?" + environ["QUERY_STRING"]
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue