Skip to content

Commit 8fdadfd

Browse files
authored
add missing restype=container query param for container get_props (#899)
1 parent 73aa74e commit 8fdadfd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sdk/storage_blobs/src/container/operations/get_properties.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ impl GetPropertiesBuilder {
3636
pub fn into_future(mut self) -> Response {
3737
Box::pin(async move {
3838
let mut url = self.container_client.url_with_segments(None)?;
39+
40+
url.query_pairs_mut().append_pair("restype", "container");
41+
3942
self.timeout.append_to_url_query(&mut url);
4043

4144
let mut headers = Headers::new();

0 commit comments

Comments
 (0)