diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-08-29 08:06:02 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-08-29 08:06:02 -0400 |
commit | 47dccf125c42e1b888ef4b7800406d975be1b285 (patch) | |
tree | a6add9facd1ac1bfd9dba458df2f2686f3327de1 | |
parent | 557446e489f3fdf6a66a6d2494cbda726117c7ac (diff) | |
download | bcfg2-47dccf125c42e1b888ef4b7800406d975be1b285.tar.gz bcfg2-47dccf125c42e1b888ef4b7800406d975be1b285.tar.bz2 bcfg2-47dccf125c42e1b888ef4b7800406d975be1b285.zip |
SSLServer: Removed decode_request_content call
decode_request_content() just adds support for gzipped content, which
the Bcfg2 client doesn't support. Given that this feature was only
added in Python 2.7, it's unlikely we'll be adding support for gzipped
POST content any time soon.
-rw-r--r-- | src/lib/Bcfg2/SSLServer.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/Bcfg2/SSLServer.py b/src/lib/Bcfg2/SSLServer.py index b4fa4cf8d..2107f8abb 100644 --- a/src/lib/Bcfg2/SSLServer.py +++ b/src/lib/Bcfg2/SSLServer.py @@ -239,8 +239,6 @@ class XMLRPCRequestHandler(SimpleXMLRPCServer.SimpleXMLRPCRequestHandler): L.append(chunk) size_remaining -= len(L[-1]) data = ''.join(L) - - data = self.decode_request_content(data) if data is None: return # response has been sent |