mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-07-16 11:38:47 -04:00
Merge pull request #154 from vbanos/fix-brozzling-test
Fix test_brozzling::httpd fixture
This commit is contained in:
commit
8107abd804
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue