mirror of https://github.com/fafhrd91/actix-web
chore: Export EitherExtractError for public use
This commit is contained in:
parent
219b988300
commit
86f4f90e75
|
|
@ -5,6 +5,7 @@
|
|||
- `actix_web::response::builder::HttpResponseBuilder::streaming()` now sets `Content-Type` to `application/octet-stream` if `Content-Type` does not exist.
|
||||
- `actix_web::response::builder::HttpResponseBuilder::streaming()` now calls `actix_web::response::builder::HttpResponseBuilder::no_chunking()` if `Content-Length` is set by user.
|
||||
- Add `ws` crate feature (on-by-default) which forwards to `actix-http` and guards some of its `ResponseError` impls.
|
||||
- Add public export for `EitherExtractError`.
|
||||
|
||||
## 4.11.0
|
||||
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ pub use crate::{
|
|||
route::Route,
|
||||
scope::Scope,
|
||||
server::HttpServer,
|
||||
types::Either,
|
||||
types::{Either, EitherExtractError},
|
||||
};
|
||||
|
||||
macro_rules! codegen_reexport {
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ mod query;
|
|||
mod readlines;
|
||||
|
||||
pub use self::{
|
||||
either::Either,
|
||||
either::{Either, EitherExtractError},
|
||||
form::{Form, FormConfig, UrlEncoded},
|
||||
header::Header,
|
||||
html::Html,
|
||||
|
|
|
|||
Loading…
Reference in New Issue