Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-10033

Implement basic HTTP client

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 6.11.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Epic Link:
    • Team:
      Coremunity
    • Sprint:
      Platform Core KANBAN
    • Release Notes:
      Not Needed
    • Release Notes Summary:
      This feature isn't activated yet, so no user facing changes.
    • QA Risk Assessment:
      Needs Assessment

      Description

      Implement an httpclient abstraction over Net::HTTP for making GET requests. It should:

      • Return puppet response objects, not Net::HTTP
      • Raise puppet exceptions, not Net::HTTP exceptions
      • Use persistent HTTP connections
      • Stream response body
      • Observe connection and read timeouts
      • Observe proxy settings or env variables
      • Send User-Agent and X-Puppet-Version HTTP headers
      • Support gzip and inflate de/compression
      • Support server basic authentication
      • Escape query parameters and request paths
      • Uses the default puppet ssl context, which contains the verification mode, CA certs, CRLs, etc

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              josh Josh Cooper
              Reporter:
              josh Josh Cooper
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support