Re: [Twisted-Python] web.client.readBody

2016-04-04 Thread Cory Benfield
> On 4 Apr 2016, at 09:32, John Aherne wrote: > > Cory > > Thanks for the detailed reply. > > I'll see what I can make of it. > > I must admit I don't see Google paying much attention to this. > > It does work if I use response.deliverBody, but I thought getting the > complete response in o

[Twisted-Python] web.client.readBody

2016-04-04 Thread John Aherne
Cory Thanks for the detailed reply. I'll see what I can make of it. I must admit I don't see Google paying much attention to this. It does work if I use response.deliverBody, but I thought getting the complete response in one hit would be better. John -- *John Aherne* *www.rocs.co.uk

[Twisted-Python] web.client.readbody

2016-04-04 Thread John Aherne
To Glyph This works fine if I use response.deliverBody I get a json response back. I'll look at what Cory says and see where I get. Thanks John -- *John Aherne* *www.rocs.co.uk * 020 7223 7567 ___ Twisted-Python mailing l

Re: [Twisted-Python] web.client.readBody

2016-04-04 Thread Cory Benfield
> On 3 Apr 2016, at 14:35, John Aherne wrote: > > I have been using deliverBody to process in responses but decided that > readBody might be a better fit. > > So far it works with http, but as soon as I switch to https it fails. > > I get a response http code 200 OK but no data. > > I've puz

Re: [Twisted-Python] web.client.readbody

2016-04-04 Thread Glyph
> On Apr 3, 2016, at 7:06 AM, John Aherne wrote: > > I was obviously half-asleep when I posted the previous email. > > Doing more tests, it would seem that only googlemaps is giving me this > problem. > Is the request in question one you expect no data from? -g _

[Twisted-Python] web.client.readbody

2016-04-03 Thread John Aherne
I was obviously half-asleep when I posted the previous email. Doing more tests, it would seem that only googlemaps is giving me this problem. -- *John Aherne* *www.rocs.co.uk * 020 7223 7567 ___ Twisted-Python mailing list T

[Twisted-Python] web.client.readBody

2016-04-03 Thread John Aherne
I have been using deliverBody to process in responses but decided that readBody might be a better fit. So far it works with http, but as soon as I switch to https it fails. I get a response http code 200 OK but no data. I've puzzled over this but can't see what the problem is. Has anyone else s