pratibha natani <en.prati...@gmail.com> writes:

> Hi,
>
> I am trying to establish http connection to a gerrit host using netrc 
> authentication. I have a netrc file created with following entries:
> machine host1.com login name password pass
>
> I did a debug and saw that my netrc file is being read correctly. Also in the 
> connection object(after sending request) a header got created with 
> appropriate credentials:
>  'headers': {'Authorization': 'Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ='}
>
It should be QWxhZGRpbjpvcGVuIHNlc2FtZQ== (note: the second '=')

Also, make sure that you use the correct case for the username. Userids
might be case sensitive.


--
akira

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to