这是indexloc提供的服务,不要输入任何密码
Skip to content

A backend-agnostic extension for file uploads in HTTP libraries for Rust

License

MIT and 2 other licenses found

Licenses found

MIT
LICENSE
Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

SimonSapin/multipart

Repository files navigation

Multipart Build Status On Crates.io

Client- and server-side abstractions for HTTP file uploads (POST requests with Content-Type: multipart/form-data).

Supports several different HTTP crates.

###Documentation

##Integrations

####Hyper via the hyper feature (enabled by default).

Client integration includes support for regular hyper::client::Request objects via multipart::client::Multipart, as well as integration with the new hyper::Client API via multipart::client::lazy::Mulitpart (new in 0.5).

Server integration for hyper::server::Request via multipart::server::Multipart.

####Iron via the iron feature (new in 0.5).

Provides regular server-side integration with iron::Request via multipart::server::Multipart, as well as a convenient BeforeMiddleware implementation in multipart::server::iron::Intercept.

####tiny_http via the tiny_http feature (new in 0.5).

Provides server-side integration with tiny_http::Request via multipart::server::Multipart.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

A backend-agnostic extension for file uploads in HTTP libraries for Rust

Resources

License

MIT and 2 other licenses found

Licenses found

MIT
LICENSE
Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 99.7%
  • Other 0.3%