From 2e733cebdda0ea4de6ed537cc99cdd2a4737309c Mon Sep 17 00:00:00 2001 From: Rodrigo Prado Date: Fri, 24 Jun 2022 13:29:26 -0300 Subject: [PATCH] corrected name of variable req --- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 6ff19bd..7e4dc75 100644 --- a/README.rst +++ b/README.rst @@ -463,8 +463,8 @@ If a site requires a username/password, you can use an interceptor to pass the a ) def interceptor(request): - if req.host == 'host_that_needs_auth': - req.headers['Authorization'] = f'Basic {auth}' + if request.host == 'host_that_needs_auth': + request.headers['Authorization'] = f'Basic {auth}' driver.request_interceptor = interceptor driver.get(...)