Skip to content

Refactor curl::http_get_and_write_resource() to use passed in request_headers#1394

Open
ndp-opendap wants to merge 11 commits into
masterfrom
ndp/hhtp_get_and_write_auth_patch
Open

Refactor curl::http_get_and_write_resource() to use passed in request_headers#1394
ndp-opendap wants to merge 11 commits into
masterfrom
ndp/hhtp_get_and_write_auth_patch

Conversation

@ndp-opendap

@ndp-opendap ndp-opendap commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Description

This PR changes the curl::http_get_and_write_resource() ecosystem to support passing in HTTP request headers so that top level code which knows that the request may need to be authenticated can handle creating the associated headers and not rely on having the request authentication semantics baked into the http/curl package.

This is one step in resolving the linked issue regarding broadcasting EDL authentication information.

Reference ticket: There is no HYRAX ticket.

Tasks

  • Ticket exists and is linked in title
  • Tests added/updated
  • Dead code removed
  • No TODOs added

@kneumiller

Copy link
Copy Markdown
Contributor

I believe it looks good. Do the other Tasks like tests and TODOs need to be added/checked before this can be closed out?

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stop indiscriminately broadcasting EDL stuff with every outgoing request.

2 participants