<div dir="ltr">I have been using deliverBody to process in responses but decided that readBody might be a better fit.<div><br></div><div>So far it works with http, but as soon as I switch to https it fails.</div><div><br></div><div>I get a response http code 200 OK but no data.</div><div><br></div><div>I've puzzled over this but can't see what the problem is.</div><div><br></div><div>Has anyone else seen this problem and found out what the solution is.</div><div><br></div><div>Thanks</div><div><br clear="all"><div><br></div><div><br></div><div><div>Response received <twisted.web._newclient.Response object at 0x0362EB50></div><div>Response version: ('HTTP', 1, 1)</div><div>Response code: 200</div><div>Response phrase: OK</div><div>Response headers: Headers({'alternate-protocol': ['443:quic'], 'x-xss-protection': ['1; mode=block'], 'accept-ranges': ['none'], 'expires': ['Mon, 04 Apr 2016 13:32:31 GMT'], 'vary': ['Accept-Language,Accept-Encoding'], 'server': ['mafe'], 'cache-control': ['public, max-age=86400'], 'date': ['Sun, 03 Apr 2016 13:32:31 GMT'], 'x-frame-options': ['SAMEORIGIN'], 'alt-svc': ['quic=":443"; ma=2592000; v="32,31,30,29,28,27,26,25"'], 'content-type': ['application/json; charset=UTF-8']})</div><div>LENGTH twisted.web.iweb.UNKNOWN_LENGTH</div><div>[('Alternate-Protocol', ['443:quic']),</div><div> ('X-XSS-Protection', ['1; mode=block']),</div><div> ('Accept-Ranges', ['none']),</div><div> ('Expires', ['Mon, 04 Apr 2016 13:32:31 GMT']),</div><div> ('Vary', ['Accept-Language,Accept-Encoding']),</div><div> ('Server', ['mafe']),</div><div> ('Cache-Control', ['public, max-age=86400']),</div><div> ('Date', ['Sun, 03 Apr 2016 13:32:31 GMT']),</div><div> ('X-Frame-Options', ['SAMEORIGIN']),</div><div> ('Alt-Svc', ['quic=":443"; ma=2592000; v="32,31,30,29,28,27,26,25"']),</div><div> ('Content-Type', ['application/json; charset=UTF-8'])]</div><div>Got Error</div><div>error res [Failure instance: Traceback (failure with no frames): <class 'twisted.web.client.PartialDownloadError'>: 200 OK</div><div>]</div><div>SHUTDOWN</div></div><div><br></div><div><br></div>-- <br><div class="gmail_signature"><b>John Aherne</b><div><b><br></b><div><b><img src="http://www.rocs.co.uk/Images/rocs_logo_sig.gif"><br></b></div><div><b><br></b></div><div><div><b><a href="http://www.rocs.co.uk" target="_blank">www.rocs.co.uk</a><br></b></div></div></div><div>020 7223 7567</div></div>
</div></div>