internal static S3RequestEventArgs Create(S3Request request, AmazonS3Config config)
 {
     S3RequestEventArgs args = new S3RequestEventArgs
     {
         OriginalRequest = request,
         Headers = request.Headers,
         ServiceURL = config.ServiceURL
     };
     return args;
 }
Esempio n. 2
0
 NameValueCollection GetHeaders(S3Request request)
 {
     var propertyInfo = typeof(S3Request).GetProperty("Headers", BindingFlags.NonPublic | BindingFlags.Instance);
     return (NameValueCollection)propertyInfo.GetValue(request, null);
 }