feat(client): changed all resources so that the URLs include the server's base URL
BREAKING CHANGE:
This commit is contained in:
parent
da9da60cb8
commit
ab2ca394ed
3 changed files with 251 additions and 48 deletions
|
|
@ -913,14 +913,14 @@ async fn test_downloads(client: &SzurubooruClient) {
|
|||
let mut dl_file = tempfile().expect("Could not create temporary file");
|
||||
//let mut dl_thumb_file = tempfile().expect("Could not create temporary thumbnail file");
|
||||
|
||||
let dlfolly3_path = Path::new(env!("CARGO_MANIFEST_DIR")).join("dlfolly3.jpg");
|
||||
let mut dl_file = File::options()
|
||||
.create(true)
|
||||
.truncate(true)
|
||||
.read(true)
|
||||
.write(true)
|
||||
.open(dlfolly3_path)
|
||||
.expect("unable to open download file");
|
||||
//let dlfolly3_path = Path::new(env!("CARGO_MANIFEST_DIR")).join("dlfolly3.jpg");
|
||||
/*let mut dl_file = File::options()
|
||||
.create(true)
|
||||
.truncate(true)
|
||||
.read(true)
|
||||
.write(true)
|
||||
.open(dlfolly3_path)
|
||||
.expect("unable to open download file");*/
|
||||
|
||||
client
|
||||
.request()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue