ansible/lib/ansible
Andreas Olsson 063f5d0ca8 Set default user-agent for module_utils.urls fetch_url (#27095)
The HTTP User-Agent "ansible-httpget" is already kind of the default,
it being the default value provided by the `url_argument_spec` helper
method. Yet, it may not be practical for all modules to get their
argument_spec that way.

Without a default User-Agent we fall back on the library
User-Agent. That being something like "Python-urllib/2.7".

While I'm no big fan of web servers making decisions based on the
provided User-Agent I still think that part of being a well-behaved
HTTP client is to provide an informative User-Agent. Not to mention
that it's a good thing for Ansible to behave consistently.

Indirectly fixes #26239
2017-07-20 12:34:41 -07:00
..
cli Consolidate boolean/mk_boolean conversion functions into a single location 2017-07-17 11:48:05 -07:00
compat ansible/compat/: PEP8 compliancy (#24689) 2017-05-18 08:36:11 +01:00
config New module aireos_command (#26769) 2017-07-19 23:14:52 +05:30
errors correct, cleanup & simplify dwim stack (#25956) 2017-07-03 15:27:53 -04:00
executor include_role handlers bug fix (#26335) 2017-07-19 15:02:32 -05:00
galaxy Transition inventory into plugins (#23001) 2017-05-23 17:16:49 -04:00
inventory ensure all groups inherit from 'all' 2017-07-13 18:38:39 -04:00
module_utils Set default user-agent for module_utils.urls fetch_url (#27095) 2017-07-20 12:34:41 -07:00
modules nxos_bgp_af correct parents (#26996) 2017-07-20 13:42:26 -04:00
parsing corrected precedence, added comments to each entry 2017-07-20 11:07:06 -04:00
playbook Don't use _raw_params for IncludeRole objects (#26601) 2017-07-20 12:32:06 -05:00
plugins Make the 'not found' regex case sensitive (#27100) 2017-07-20 12:33:18 -07:00
template Try to show original exception info for yaml (and other) errors (#24468) 2017-06-09 13:13:15 -04:00
utils Removing _cnos from all new devices added (#27101) 2017-07-20 12:34:08 -07:00
vars removed redundant loader 2017-07-17 09:03:39 -04:00
__init__.py
constants.py Consolidate boolean/mk_boolean conversion functions into a single location 2017-07-17 11:48:05 -07:00
release.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00