About the request format in #Breakpoint Transmission test
In CS305.ipynb file, the #Breakpoint Transmission part gives the hearders as below:
headers={"Authorization": "Basic Y2xpZW50MToxMjM=",
"Range": "0-1,1-2,2-3"}
But in the reference doc HTTP range requests - HTTP | MDN and the description given by you, the format should be:
Range: bytes=0-1023
Noticed that the bytes= is not given in the test file.
So which one should be followed?
Since bytes can be viewed as the default unit here, so it is just omitted in test. You'd better consider the default case.
Since bytes can be viewed as the default unit here, so it is just omitted in test. You'd better consider the default case.
So besides bytes, is there any other type needed to be implemented?
Since bytes can be viewed as the default unit here, so it is just omitted in test. You'd better consider the default case.
So besides
bytes, is there any other type needed to be implemented?
Don't worry, actually you only need to consider type byte in this project