mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-30 00:00:32 +02:00
Move Html from axum-extra to axum (#2633)
This commit is contained in:
@@ -66,14 +66,6 @@ macro_rules! mime_response {
|
||||
};
|
||||
}
|
||||
|
||||
mime_response! {
|
||||
/// A HTML response.
|
||||
///
|
||||
/// Will automatically get `Content-Type: text/html; charset=utf-8`.
|
||||
Html,
|
||||
TEXT_HTML_UTF_8,
|
||||
}
|
||||
|
||||
mime_response! {
|
||||
/// A JavaScript response.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user