aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/headers.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/encoding/headers.rs')
-rw-r--r--src/encoding/headers.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/encoding/headers.rs b/src/encoding/headers.rs
index 60dca7f..9e785f0 100644
--- a/src/encoding/headers.rs
+++ b/src/encoding/headers.rs
@@ -28,6 +28,7 @@ pub trait Header: FromStr<Err = anyhow::Error> + Display {
}
header!("Content-Length", struct ContentLength(usize));
+header!("Content-Type", struct ContentType(String));
header!("Call-ID", struct CallID(String));
header!("Via", struct Via(String));
header!("Contact", struct Contact(String));