[PR #1032] [CLOSED] Clarify that Content-Length is required in the HTTP header #1495

Closed
opened 2026-05-07 01:02:22 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/binwiederhier/ntfy/pull/1032
Author: @CrossVR
Created: 2/22/2024
Status: Closed

Base: mainHead: patch-1


📝 Commits (1)

  • 16b69f4 Clarify that Content-Length is required in the HTTP header

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 docs/index.md (+1 -0)

📄 Description

Without it your message will be empty and the message will be replaced by "triggered".

I initially missed this because normally this happens when using a GET request instead of POST, so it took a bit of time to figure out I had forgotten the Content-Length header.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/binwiederhier/ntfy/pull/1032 **Author:** [@CrossVR](https://github.com/CrossVR) **Created:** 2/22/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`16b69f4`](https://github.com/binwiederhier/ntfy/commit/16b69f483f516c79624cbadcdf348241d110f127) Clarify that Content-Length is required in the HTTP header ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/index.md` (+1 -0) </details> ### 📄 Description Without it your message will be empty and the message will be replaced by "triggered". I initially missed this because normally this happens when using a GET request instead of POST, so it took a bit of time to figure out I had forgotten the Content-Length header. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 01:02:22 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#1495
No description provided.