2e5036cd2819 — Peter Sanchez 13 years ago
Removed Content-Length hack. Seemed to be breaking communication all of a sudden. Hrmm?
1 files changed, 1 insertions(+), 1 deletions(-)

M zerigodns/api.py
M zerigodns/api.py +1 -1
@@ 122,7 122,7 @@ class ZerigoDNS(object):
             # HTTPConnection.request() method set the Content-Length 
             # header (default) was setting the length 2 bytes short.
             # Manually set the length for now until we can look into it
-            req_headers['Content-Length'] = (len(request) + 2)
+            #req_headers['Content-Length'] = (len(request) + 2)
         
         if self.is_debug:
             print 'DEBUG (method): ', method