Task: Fix HTTP Request Parser strcmp() Issue
Task: Fix HTTP Request Parser strcmp() Issue: a task in Terminal-Lego-15k (Harbor dataset). When building a simple HTTP server in C, a common bug occurs where strcmp() fails to match HTTP method strings (like "GET") even though they appear correct when printed. This typically happens because HTTP…
The task
When building a simple HTTP server in C, a common bug occurs where `strcmp()` fails to match HTTP method strings (like "GET") even though they appear correct when printed. This typically happens because HTTP requests use `\r\n` (CRLF) line endings, and the parsing logic doesn't account for carriage return (`\r`)…
Part of PrimeIntellect/Terminal-Lego-15k.