You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-07-29 22:01:14 +03:00
Remove implied StatusCode::OK
This commit is contained in:
committed by
Quentin Gliech
parent
44c1503bf2
commit
0e1b2ea6b1
@ -70,7 +70,6 @@ mod builtin {
|
||||
|
||||
let res = if is_head {
|
||||
(
|
||||
StatusCode::OK,
|
||||
TypedHeader(ContentType::from(mime)),
|
||||
TypedHeader(ContentLength(len)),
|
||||
TypedHeader(etag),
|
||||
@ -78,7 +77,6 @@ mod builtin {
|
||||
.into_response()
|
||||
} else {
|
||||
(
|
||||
StatusCode::OK,
|
||||
TypedHeader(ContentType::from(mime)),
|
||||
TypedHeader(ContentLength(len)),
|
||||
TypedHeader(etag),
|
||||
|
Reference in New Issue
Block a user