Skip to content

Commit

Permalink
add note about range header in SimpleHTTPServer
Browse files Browse the repository at this point in the history
  • Loading branch information
vdloo authored and copy committed Apr 30, 2017
1 parent 522faac commit 217cc50
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ There are two ways to load images (`bios`, `vga_bios`, `cdrom`, `hda`, ...):
size_in_bytes` can be added to the object, so that sectors of the image
are loaded on demand instead of being loaded before boot (slower, but
strongly recommended for big files). In that case, the `Range: bytes=...`
header must be supported on the server.
header must be supported on the server. Note: the python SimpleHTTPServer
does not support this, so it won't work with the default webserver used
by `make run`.

```javascript
// download file before boot
Expand Down

0 comments on commit 217cc50

Please sign in to comment.