server = jenkins.Jenkins('http://localhost:8080', username='myuser', password='mypassword')
user = server.get_whoami()
version = server.get_version()
print('Hello %s from Jenkins %s' % (user['fullName'], version))
```
If I change the order of the calls (get_version before get_whoami), it will FAIL with 403
If I alter it to only call get_version, it will FAIL with 403
This is still an issue with version 1.8.2
Interesting thing
If follow Example 1 - it works!
```
import jenkins
server = jenkins.Jenkins('http:// localhost: 8080', username='myuser', password= 'mypassword' ) get_version( )
user = server.get_whoami()
version = server.
print('Hello %s from Jenkins %s' % (user['fullName'], version))
```
If I change the order of the calls (get_version before get_whoami), it will FAIL with 403
If I alter it to only call get_version, it will FAIL with 403