mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-19 07:15:52 -04:00
Merge pull request #154 from vbanos/fix-brozzling-test
Fix test_brozzling::httpd fixture
This commit is contained in:
commit
8107abd804
@ -67,8 +67,8 @@ def httpd(request):
|
||||
self.send_header('WWW-Authenticate', 'Basic realm=\"Test\"')
|
||||
self.send_header('Content-type', 'text/html')
|
||||
self.end_headers()
|
||||
self.wfile.write(self.headers.getheader('Authorization'))
|
||||
self.wfile.write('not authenticated')
|
||||
self.wfile.write(self.headers.get('Authorization', b''))
|
||||
self.wfile.write(b'not authenticated')
|
||||
else:
|
||||
super().do_GET()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user