Use " instead of '
This commit is contained in:
parent
24f835a2a1
commit
f708a7b2b6
@ -46,7 +46,7 @@ import vobject
|
|||||||
from radicale import auth, config, log, rights, storage, web, xmlutils
|
from radicale import auth, config, log, rights, storage, web, xmlutils
|
||||||
from radicale.log import logger
|
from radicale.log import logger
|
||||||
|
|
||||||
VERSION = pkg_resources.get_distribution('radicale').version
|
VERSION = pkg_resources.get_distribution("radicale").version
|
||||||
|
|
||||||
NOT_ALLOWED = (
|
NOT_ALLOWED = (
|
||||||
client.FORBIDDEN, (("Content-Type", "text/plain"),),
|
client.FORBIDDEN, (("Content-Type", "text/plain"),),
|
||||||
|
@ -173,9 +173,9 @@ class RequestHandler(wsgiref.simple_server.WSGIRequestHandler):
|
|||||||
|
|
||||||
self.raw_requestline = self.rfile.readline(65537)
|
self.raw_requestline = self.rfile.readline(65537)
|
||||||
if len(self.raw_requestline) > 65536:
|
if len(self.raw_requestline) > 65536:
|
||||||
self.requestline = ''
|
self.requestline = ""
|
||||||
self.request_version = ''
|
self.request_version = ""
|
||||||
self.command = ''
|
self.command = ""
|
||||||
self.send_error(414)
|
self.send_error(414)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user