Skip to content

Commit

Permalink
http: allow importing of http::StatusCode; required for use with send…
Browse files Browse the repository at this point in the history
…_response
  • Loading branch information
nick1udwig committed Nov 14, 2024
1 parent 745f3de commit adcd0e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/http/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ use crate::{
get_blob, Address, LazyLoadBlob as KiBlob, Message, Request as KiRequest,
Response as KiResponse,
};
use http::{HeaderMap, HeaderName, HeaderValue, StatusCode};
pub use http::StatusCode;
use http::{HeaderMap, HeaderName, HeaderValue};
use serde::{Deserialize, Serialize};
use std::collections::{HashMap, HashSet};
use thiserror::Error;
Expand Down

0 comments on commit adcd0e3

Please sign in to comment.