Commits

Peter Sanchez  committed 2e5036c

Removed Content-Length hack. Seemed to be breaking communication all of a sudden. Hrmm?

  • Participants
  • Parent commits 0603769

Comments (0)

Files changed (1)

File zerigodns/api.py

             # 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