docker-hook
docker-hook copied to clipboard
remove requests requirements
@pahaz Please be more specific. Is this a feature request? A bug report? What happened / what did you expect to happen? What do you want to do?
@MartinThoma sorry, I try to explain you.
As you can see here https://github.com/schickling/docker-hook#features one of the feature of this project is "No dependencies". But now, this project have "requests" dependence.
@pahaz Thank you for explaining it.
urllib
and urllib2
are in the standard library.
u = urllib2.urlopen(json_params['callback_url'], json.dumps(data))
h.request('POST', '/whatever/index.php', data, headers)
could be what we need.