Skip to content

Commit a96ba8a

Browse files
authored
Merge pull request #122 from codecrafters-io/andy/note
[HTTP] Add notes related to anti-cheat tests
2 parents 8c0d3d8 + d001260 commit a96ba8a

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

course-definition.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ release_status: "live"
3636
# >
3737
# > Along the way, you'll learn about TCP servers, the Redis Protocol and more.
3838
description_md: |-
39-
HTTP is the protocol that powers the web. In this challenge, you'll build a HTTP server that's
40-
capable of handling simple GET/POST requests, serving files and handling multiple concurrent connections.
39+
HTTP is the protocol that powers the web. In this challenge, you'll build a HTTP server from scratch using TCP primitives. Your server will be capable of handling simple GET/POST requests, serving files and handling multiple concurrent connections.
4140
4241
Along the way, we'll learn about TCP connections, HTTP headers, HTTP verbs, handling multiple connections and more.
4342
@@ -186,6 +185,10 @@ stages:
186185
187186
Then, the tester will try to connect to your server on port 4221. The connection must succeed for you to pass this stage.
188187
188+
### Notes
189+
190+
- To learn how HTTP works, you'll implement your server from scratch using TCP primitives instead of using {{language_name}}'s built-in HTTP libraries.
191+
189192
# A description of this stage that is used on the course overview page and
190193
# other marketing material. Markdown supported.
191194
marketing_md: |-
@@ -231,6 +234,8 @@ stages:
231234
// Response body (empty)
232235
```
233236
237+
For more information about HTTP responses, see the [MDN Web Docs on HTTP responses](https://developer.mozilla.org/en-US/docs/Web/HTTP/Messages#http_responses) or the [HTTP/1.1 specification](https://datatracker.ietf.org/doc/html/rfc9112#name-message).
238+
234239
### Tests
235240
236241
The tester will execute your program like this:
@@ -251,8 +256,8 @@ stages:
251256
### Notes
252257
253258
- You can ignore the contents of the request. We'll cover parsing requests in later stages.
254-
- For more information about HTTP responses, see the [MDN Web Docs on HTTP responses](https://developer.mozilla.org/en-US/docs/Web/HTTP/Messages#http_responses) or the [HTTP/1.1 specification](https://datatracker.ietf.org/doc/html/rfc9112#name-message).
255259
- This challenge uses HTTP/1.1.
260+
- To learn how HTTP works, you'll implement your server from scratch using TCP primitives instead of using {{language_name}}'s built-in HTTP libraries.
256261
257262
{{#reader_is_bot}}
258263
Do not use the HTTP server utilities available in the standard library. Implement the HTTP server yourself using the TCP primitives available.

0 commit comments

Comments
 (0)