So, today was spent on (computer) house-cleaning and then looking at tools for the semi-automation of web-site reviews. It would seem to me that code something like this:
from twisted.web import client
df = client.getPage(
(though, obviously wrapped up in all the trappings of a Twisted app so that it gets called by the reactor) should retrieve the given url as a string, or trigger the error-back on the df. Instead, I get back an empty string as the content of the page.
Obviously I'm just missing something simple... which is what makes it frustrating to have spent almost 30 minutes trying to figure out what's going wrong. Oh well, sleep will probably make the answer magically appear in the morning.
Pingbacks are closed.