internetarchive / brozzler

brozzler - distributed browser-based web crawler
Apache License 2.0
669 stars 97 forks source link

Fix test_brozzling::httpd fixture #154

Closed vbanos closed 5 years ago

vbanos commented 5 years ago

We used self.headers.getheader which no longer works. We replace it with self.headers.get.

We change the code to write binary data to self.wfile because we get an exception for writing str and/or None.