Xuanwo commented on code in PR #1902: URL: https://github.com/apache/incubator-opendal/pull/1902#discussion_r1162317051
########## core/src/services/azblob/core.rs: ########## @@ -0,0 +1,317 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +use std::fmt; +use std::fmt::Debug; +use std::fmt::Formatter; +use std::fmt::Write; +use std::str::FromStr; + +use http::header::HeaderName; +use http::header::CONTENT_LENGTH; +use http::header::CONTENT_TYPE; +use http::Request; +use http::Response; +use http::Uri; +use reqsign_0_9::AzureStorageCredential; +use reqsign_0_9::AzureStorageLoader; +use reqsign_0_9::AzureStorageSigner; + +use super::batch::BatchDeleteRequestBuilder; +use crate::raw::*; +use crate::*; + +const X_MS_BLOB_TYPE: &str = "x-ms-blob-type"; +const X_MS_COPY_SOURCE: &str = "x-ms-copy-source"; + +pub struct AzblobCore { Review Comment: I have different idea about that. Let's keep AS-IS. It's service internal & private API which isn't visible to our users. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
