chore: trivial updates
This commit is contained in:
parent
f8d6859354
commit
ab29e39148
2 changed files with 4 additions and 2 deletions
|
@ -186,9 +186,9 @@ curl -X MOVE https://127.0.0.1:5000/path -H "Destination: https://127.0.0.1:5000
|
||||||
List/search directory contents
|
List/search directory contents
|
||||||
|
|
||||||
```
|
```
|
||||||
curl http://127.0.0.1:5000?simple # output names only, just like `ls -1`
|
curl http://127.0.0.1:5000?q=Dockerfile # search for files, similar to `find -name Dockerfile`
|
||||||
|
curl http://127.0.0.1:5000?simple # output names only, similar to `ls -1`
|
||||||
curl http://127.0.0.1:5000?json # output paths in json format
|
curl http://127.0.0.1:5000?json # output paths in json format
|
||||||
curl http://127.0.0.1:5000?q=Dockerfile&simple # search for files, just like `find -name Dockerfile`
|
|
||||||
```
|
```
|
||||||
|
|
||||||
With authorization
|
With authorization
|
||||||
|
|
|
@ -74,5 +74,7 @@ fn no_log(tmpdir: TempDir, port: u16, #[case] args: &[&str]) -> Result<(), Error
|
||||||
let output = std::str::from_utf8(&buf[0..buf_len])?;
|
let output = std::str::from_utf8(&buf[0..buf_len])?;
|
||||||
|
|
||||||
assert_eq!(output.lines().last().unwrap(), "");
|
assert_eq!(output.lines().last().unwrap(), "");
|
||||||
|
|
||||||
|
child.kill()?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue