summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorHarry (Open ERP) <hmo@tinyerp.com>2010-04-22 19:13:54 +0530
committerHarry (Open ERP) <hmo@tinyerp.com>2010-04-22 19:13:54 +0530
commit84a0a39d23f86c499ed71c4f22b33cb9e893fc2b (patch)
tree2972d158ea0bd17732879186f8efc105a1b6dbc5 /bin
parentbf55745a198688526f4b1dc302c3705637faf17d (diff)
[FIX] service: resolved error if words has only body like do_put method send only body if forcely submit data
bzr revid: hmo@tinyerp.com-20100422134354-a189wues9k74dsa1
Diffstat (limited to 'bin')
-rw-r--r--bin/service/websrv_lib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/service/websrv_lib.py b/bin/service/websrv_lib.py
index 464c41ca356..82f3e4fab38 100644
--- a/bin/service/websrv_lib.py
+++ b/bin/service/websrv_lib.py
@@ -295,7 +295,7 @@ class MultiHTTPHandler(FixSendError,BaseHTTPRequestHandler):
elif not words:
return False
else:
- self.send_error(400, "Bad request syntax (%r)" % requestline)
+ #self.send_error(400, "Bad request syntax (%r)" % requestline)
return False
self.request_version = version
self.command, self.path, self.version = command, path, version