Handling empty "Content-Type" #19

Closed
opened 2025-03-22 16:42:11 +07:00 by Arsen Mirzaev Tatyano-Muradovich · 1 comment

Turns out there are idiots in the world who send a request with an empty Content-Type

["content-length"] => string(0) ""
["content-type"] => string(0) ""

image

Turns out there are idiots in the world who send a request with an empty **Content-Type** `["content-length"] => string(0) ""` `["content-type"] => string(0) ""` ![image](/attachments/83e2e3b5-f882-435d-aac1-4d1e5dad5626)
Arsen Mirzaev Tatyano-Muradovich changed title from Handling empty to Handling empty "Content-Type" 2025-03-22 16:42:19 +07:00
Arsen Mirzaev Tatyano-Muradovich added the
Suggestion
Error
Status
Confirmed
labels 2025-03-22 16:44:01 +07:00

The code already has a solution for this problem

The code already has a solution for this problem
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
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: mirzaev/minimal#19
No description provided.