Skip to content

Commit

Permalink
Remove Protocol enum
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry Barber committed Oct 7, 2022
1 parent 4719b18 commit 6c16368
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions rust-runtime/aws-smithy-http-server/src/protocols.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<B>(
Expand Down

0 comments on commit 6c16368

Please sign in to comment.