コード例 #1
0
 utility::string_t shared_key_table_canonicalizer::canonicalize(const web::http::http_request& request, operation_context context) const
 {
     canonicalizer_helper helper(request, m_account_name);
     helper.append(request.method());
     helper.append_header(web::http::header_names::content_md5);
     helper.append_header(web::http::header_names::content_type);
     helper.append_date_header(true);
     helper.append_resource(true);
     return helper.str();
 }
コード例 #2
0
 utility::string_t shared_key_blob_queue_canonicalizer::canonicalize(const web::http::http_request& request, operation_context context) const
 {
     canonicalizer_helper helper(request, m_account_name);
     helper.append(request.method());
     helper.append_header(web::http::header_names::content_encoding);
     helper.append_header(web::http::header_names::content_language);
     helper.append_header(web::http::header_names::content_length);
     helper.append_header(web::http::header_names::content_md5);
     helper.append_header(web::http::header_names::content_type);
     helper.append_date_header(false);
     helper.append_header(web::http::header_names::if_modified_since);
     helper.append_header(web::http::header_names::if_match);
     helper.append_header(web::http::header_names::if_none_match);
     helper.append_header(web::http::header_names::if_unmodified_since);
     helper.append_header(web::http::header_names::range);
     helper.append_x_ms_headers();
     helper.append_resource(false);
     return helper.str();
 }