Jira (PUP-10033) Implement basic HTTP client

10 views
Skip to first unread message

Josh Cooper (JIRA)

unread,
Sep 24, 2019, 6:52:02 PM9/24/19
to puppe...@googlegroups.com
Josh Cooper created an issue
 
Puppet / Improvement PUP-10033
Implement basic HTTP client
Issue Type: Improvement Improvement
Assignee: Unassigned
Created: 2019/09/24 3:51 PM
Priority: Normal Normal
Reporter: Josh Cooper

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
  • 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
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Josh Cooper (JIRA)

unread,
Sep 24, 2019, 7:13:02 PM9/24/19
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
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

Josh Cooper (JIRA)

unread,
Nov 11, 2019, 5:19:03 AM11/11/19
to puppe...@googlegroups.com
Josh Cooper assigned an issue to Josh Cooper
Change By: Josh Cooper
Assignee: Josh Cooper

Josh Cooper (JIRA)

unread,
Nov 11, 2019, 5:19:03 AM11/11/19
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Sprint: Platform Core KANBAN

Josh Cooper (JIRA)

unread,
Nov 11, 2019, 5:19:04 AM11/11/19
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Fix Version/s: PUP 6.11.0

Kris Bosland (JIRA)

unread,
Nov 12, 2019, 8:32:03 PM11/12/19
to puppe...@googlegroups.com

Josh Cooper (JIRA)

unread,
Nov 12, 2019, 8:38:05 PM11/12/19
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Release Notes Summary: This feature isn't activated yet, so no user facing changes.
Release Notes: Not Needed
Reply all
Reply to author
Forward
0 new messages