Skip to content

os400: document curl_formadd_CCSID multi-chunk peculiarity in README.OS400 - #22887

Closed
monnerat wants to merge 1 commit into
curl:masterfrom
monnerat:doc-formadd
Closed

monnerat wants to merge 1 commit into
curl:masterfrom
monnerat:doc-formadd

Conversation

@monnerat

@monnerat monnerat commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

These details should inform os400 developers using libcurl about the extended use of CURLFORM_CONTENTTYPE.

@github-actions github-actions Bot added the build label Sep 9, 2026
@bagder
bagder requested a lite review from Copilot September 9, 2026 11:43

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The change is documentation-only and the remaining feedback is limited to minor wording/capitalization nits.

Pull request overview

Documents an IBM i (OS400) binding detail for curl_formadd_ccsid() so developers understand how multi-chunk “old-style” form data must be delimited when using repeated data/length option tuples (via CURLFORM_CONTENTTYPE).

Changes:

  • Adds an explanation of the CURLFORM_CONTENTTYPE delimiter requirement when multiple data/length tuples are provided in a single curl_formadd_ccsid() call.
  • Adds/adjusts text noting that the legacy form API is deprecated in favor of the mime/MIME API.
  • Minor wording/formatting adjustment in the vararg/overloading documentation section.
File summaries
File Description
projects/OS400/README.OS400 Adds OS400-specific documentation for curl_formadd_ccsid() multi-chunk behavior and clarifies form-vs-mime API guidance.
Review details

Suppressed comments (1)

projects/OS400/README.OS400:384

  • Same capitalization issue as above: “mime API” should match the “MIME API” wording used elsewhere in OS400 docs (e.g., projects/OS400/rpg-examples/HTTPPOST).
curl_forms array. Please note the form API is deprecated and the mime API
should be used instead.
  • Files reviewed: 1/1 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread projects/OS400/README.OS400 Outdated
Comment thread projects/OS400/README.OS400 Outdated
@monnerat

monnerat commented Sep 9, 2026

Copy link
Copy Markdown
Contributor Author

Thanks for merge.

@monnerat
monnerat deleted the doc-formadd branch September 9, 2026 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants