gvalkov / jenkins-webapi

Python library for interacting with jenkins ci
http://jenkins-webapi.rtfd.org/
Other
16 stars 14 forks source link

Added support for crumb header / Prevent Cross Site Request Forgery exploits (CSRF). #19

Closed bartoszj closed 8 years ago

bartoszj commented 8 years ago

Hi,

I've added support for "brumb" headers, which is required when Jenkins is using Prevent Cross Site Request Forgery exploits (CSRF).

This PR can fix issue with the https://github.com/gvalkov/jenkins-autojobs/issues/13

gvalkov commented 8 years ago

Thanks @bartoszj - this is a great feature. I'm looking into fixing some failing tests with the latest version of Jenkins and I'll release jenkins-webapi 0.6.0.