pub async fn put(filename: &Path, url: &Url) -> Result<(), Error>Expand description
Upload a file via HTTP PUT
ยงErrors
Returns an error if:
- The file cannot be opened or read
- There is a failure making the HTTP request
- The server returns an unexpected status code