File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ There's a set of unit tests included to ensure that your cache implementation is
208208
209209### Stretch Goals
210210
211- #### Post a file:
211+ #### 1. Post a file
212212
2132131 . Implement ` find_start_of_body() ` to locate the start of the HTTP request body
214214 (just after the header).
@@ -222,7 +222,7 @@ There's a set of unit tests included to ensure that your cache implementation is
222222 The response from ` post_save() ` should be of type ` application/json ` and
223223 should be ` {"status":"ok"} ` .
224224
225- #### Automatic ` index.html ` serving
225+ #### 2. Automatic ` index.html ` serving
226226
227227We know that if the user hits ` http://localhost:3490/index.html ` it should
228228return the file at ` ./serverroot/index.html ` .
@@ -245,7 +245,7 @@ fail to find a file there, then try:
245245
246246and succeed.
247247
248- #### Expire cache entries
248+ #### 3. Expire cache entries
249249
250250It doesn't make sense to cache things forever--what if the file changes on disk?
251251
@@ -255,7 +255,7 @@ If an item is found in the cache, check to see if it is more than 1 minute old.
255255
256256You'll have to add a ` cache_delete ` function to your cache code that does the work of actually removing entries that are too old from the cache.
257257
258- #### Concurrency
258+ #### 4. Concurrency
259259
260260_ Difficulty: Pretty Dang Tough_
261261
You can’t perform that action at this time.
0 commit comments