Works fine now finally
This commit is contained in:
parent
7e180c05b3
commit
f0788f2c4a
4 changed files with 121 additions and 35 deletions
|
|
@ -163,9 +163,6 @@ impl HttpApi {
|
|||
headers: http::HeaderMap,
|
||||
) -> Result<impl IntoResponse> {
|
||||
let mut stream = state.api_stream(idx, file_id)?;
|
||||
|
||||
dbg!(&headers);
|
||||
|
||||
let mut status = StatusCode::OK;
|
||||
let mut output_headers = HeaderMap::new();
|
||||
output_headers.insert("Accept-Ranges", HeaderValue::from_static("bytes"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue