Unverified Commit 21e65a8e authored by Russell Cohen's avatar Russell Cohen Committed by GitHub
Browse files

Update out of date comments in aws-hyper lib (#433)

parent ec9a7f69
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -127,10 +127,14 @@ where
            // Create a new request-scoped policy
            .retry(self.retry_handler.new_handler())
            .layer(ParseResponseLayer::<O, Retry>::new())
            // These layers can be considered as occuring in order, that is:
            // 1. Resolve an endpoint
            // 2. Add a user agent
            // 3. Sign
            // 4. Dispatch over the wire
            .layer(endpoint_resolver)
            .layer(user_agent)
            .layer(signer)
            // Apply the user agent _after signing_. We should not sign the user-agent header
            .layer(DispatchLayer::new())
            .service(inner);
        svc.ready().await?.call(input).await