mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-15 01:32:56 +00:00
refactor: put together HTTP headers (#3337)
* refactor: put together HTTP headers Signed-off-by: tison <wander4096@gmail.com> * do refactor Signed-off-by: tison <wander4096@gmail.com> * drop dirty commit Signed-off-by: tison <wander4096@gmail.com> * reduce changeset Signed-off-by: tison <wander4096@gmail.com> * fixup compilations Signed-off-by: tison <wander4096@gmail.com> * tidy files Signed-off-by: tison <wander4096@gmail.com> * drop common-api Signed-off-by: tison <wander4096@gmail.com> * fmt Signed-off-by: tison <wander4096@gmail.com> --------- Signed-off-by: tison <wander4096@gmail.com>
This commit is contained in:
@@ -19,7 +19,9 @@ pub mod format;
|
||||
pub mod mock;
|
||||
pub mod status_code;
|
||||
|
||||
pub use snafu;
|
||||
|
||||
// HACK - these headers are here for shared in gRPC services. For common HTTP headers,
|
||||
// please define in `src/servers/src/http/header.rs`.
|
||||
pub const GREPTIME_DB_HEADER_ERROR_CODE: &str = "x-greptime-err-code";
|
||||
pub const GREPTIME_DB_HEADER_ERROR_MSG: &str = "x-greptime-err-msg";
|
||||
|
||||
pub use snafu;
|
||||
|
||||
Reference in New Issue
Block a user