Conversation
I think i removed more lines than i added and it went from passing 4 to 11 tests
2
0
0
and does some shit that isn't even in the tests
0
0
0
@snacks what are you working on?
1
0
0
@glitch http server in c for uni
2
0
0
@glitch together with a girl that who just copypasted some stuff together
1
0
0
@snacks is it working... ehm... good enough?
1
0
1

@glitch could be worse

est valid requests
    ✔ Server respondss with status code 200 for /
    ✔ Server responds with status code 200 for /index.html
    ✔ Server responds with status code 404 for an unknown path
    ✔ Server redirects requests from /index.php to /index.html

Test invalid requests
    ✔ Server rejects request with invalid method
    ✔ Server handles unknown method
    ✔ Server rejects requests without host header

Test headers
    ✔ Server responds with date header
    ✔ Server responds with server header

Test header field parsing
    ✔ Server rejects request with invalid header
    ✘ Server outputs requested header field
Got answer:
Not Found
Expected answer was:
JiNXjVG7fQr82IqJFYMXJjvLlhjpS2U5
    ✔ Server responds with Not Found if header key is not present
    ✘ Server responds with header keys
Got answer:

Expected answer was:
Im2rHqlW8W9l2NCPvOUHEL59yzQwAZhY
    ✘ Server responds with header values
Got answer:

Expected answer was:
JiNXjVG7fQr82IqJFYMXJjvLlhjpS2U5

3 tests are failing!
1
0
1
@snacks 3 failing test out of 14? I've definitely seen worse pass/fail ratios
1
0
1
@glitch i think it doesn't do some tests because of the failing ones
1
0
1
@glitch but it's our first c assignment, so i guess they will grade it nice
1
0
1
@glitch no, that's actually all lol
1
0
0
@glitch but yeah, it doesn't do the header stuff and i'm not gonna implement that in the remaining time
0
0
1