Skip to content

Commit 1c1046d

Browse files
committed
Improve README formatting
1 parent 689d819 commit 1c1046d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff 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

213213
1. 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

227227
We know that if the user hits `http://localhost:3490/index.html` it should
228228
return the file at `./serverroot/index.html`.
@@ -245,7 +245,7 @@ fail to find a file there, then try:
245245

246246
and succeed.
247247

248-
#### Expire cache entries
248+
#### 3. Expire cache entries
249249

250250
It 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

256256
You'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

0 commit comments

Comments
 (0)