Task: Implement an HTTP Server with Proper Authentication and Authorization Status Codes
Task: Implement an HTTP Server with Proper Authentication and Authorization Status Codes: a task in Terminal-Lego-15k (Harbor dataset). According to HTTP standards: - 401 Unauthorized should be used when authentication is required and has not been provided or has failed (i.e., "not…
The task
According to HTTP standards: - **401 Unauthorized** should be used when authentication is required and has not been provided or has failed (i.e., "not authenticated"). The response MUST include a `WWW-Authenticate` header. - **403 Forbidden** should be used when the server understood the request but refuses to…
Part of PrimeIntellect/Terminal-Lego-15k.