From cbff82b678634b516fd21ed0755ca68847fcaa6e Mon Sep 17 00:00:00 2001 From: Harry Barber Date: Thu, 6 Oct 2022 19:02:40 +0000 Subject: [PATCH] Remove Protocol enum --- rust-runtime/aws-smithy-http-server/src/protocols.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/rust-runtime/aws-smithy-http-server/src/protocols.rs b/rust-runtime/aws-smithy-http-server/src/protocols.rs index 1707e33cf78..6b22e9dd1bf 100644 --- a/rust-runtime/aws-smithy-http-server/src/protocols.rs +++ b/rust-runtime/aws-smithy-http-server/src/protocols.rs @@ -7,15 +7,6 @@ use crate::rejection::MissingContentTypeReason; use crate::request::RequestParts; -/// Supported protocols. -#[derive(Debug, Clone, Copy, PartialEq)] -pub enum Protocol { - RestJson1, - RestXml, - AwsJson10, - AwsJson11, -} - /// When there are no modeled inputs, /// a request body is empty and the content-type request header must not be set pub fn content_type_header_empty_body_no_modeled_input(