Skip to content

Fix curl Content-Type header in filter policies docs #91 - #92

Merged
jzonthemtn merged 1 commit into
philterd:mainfrom
AzazelSensei:fix-91-content-type-header
Aug 31, 2026
Merged

Fix curl Content-Type header in filter policies docs #91#92
jzonthemtn merged 1 commit into
philterd:mainfrom
AzazelSensei:fix-91-content-type-header

Conversation

@AzazelSensei

Copy link
Copy Markdown
Contributor

The filter-policies curl example used -H Content-Type "text/plain". curl treats that as an empty header plus a stray argument, so the request never sends text/plain.

I changed it to -H "Content-Type: text/plain", matching the other docs examples. That is the only remaining -H Content-Type (no colon) under docs/.

Fixes #91

The example passed -H Content-Type without a colon, so curl treated
the header as empty. Match the other docs examples.

Fixes philterd#91
@jzonthemtn

Copy link
Copy Markdown
Member

Thanks @AzazelSensei

@jzonthemtn
jzonthemtn merged commit 04cb20b into philterd:main Aug 31, 2026
1 check passed
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.

Malformed Content-Type header in a curl example

2 participants