Skip to content

Fix missing spaces in HTTP headers in invoke-api-with-jwt.md#11147

Open
Branavan2004 wants to merge 1 commit intowso2:4.2.0from
Branavan2004:patch-1
Open

Fix missing spaces in HTTP headers in invoke-api-with-jwt.md#11147
Branavan2004 wants to merge 1 commit intowso2:4.2.0from
Branavan2004:patch-1

Conversation

@Branavan2004
Copy link
Copy Markdown

Summary

Fixed incorrect HTTP header formatting in the invoke-api-with-jwt.md include file.

Problem

The curl examples were missing required spaces in two HTTP headers:

  1. "accept:application/xml" → missing space after colon
  2. "Authorization:Bearer $TOKEN" → missing space after colon (in both Format and Example tabs)

This violates RFC 7230 HTTP header formatting standards.

Impact

  • Strict HTTP clients may reject malformed headers
  • Copy-paste users may receive 401 Unauthorized errors
  • Authentication may silently fail in production environments

Fix

  • "accept: application/xml"
  • "Authorization: Bearer $TOKEN" ✅ (fixed in both Format and Example tabs)

References

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 8, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 395d634c-3457-4039-b262-34288f63ca03

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 8, 2026

CLA assistant check
All committers have signed the CLA.

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.

2 participants