mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-24 08:50:40 +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:
@@ -169,7 +169,7 @@ async fn test_influxdb_write() {
|
||||
.await;
|
||||
assert_eq!(result.status(), 401);
|
||||
assert_eq!(
|
||||
result.headers().get(GREPTIME_DB_HEADER_FORMAT).unwrap(),
|
||||
result.headers().get(&GREPTIME_DB_HEADER_FORMAT).unwrap(),
|
||||
"influxdb_v1",
|
||||
);
|
||||
assert_eq!(
|
||||
@@ -185,7 +185,7 @@ async fn test_influxdb_write() {
|
||||
.await;
|
||||
assert_eq!(result.status(), 401);
|
||||
assert_eq!(
|
||||
result.headers().get(GREPTIME_DB_HEADER_FORMAT).unwrap(),
|
||||
result.headers().get(&GREPTIME_DB_HEADER_FORMAT).unwrap(),
|
||||
"influxdb_v1",
|
||||
);
|
||||
assert_eq!(
|
||||
|
||||
Reference in New Issue
Block a user