<commit_before>Multipart [![Build Status](https://travis-ci.org/cybergeek94/multipart.svg?branch=master)](https://travis-ci.org/cybergeek94/multipart) [![On Crates.io](https://img.shields.io/crates/v/multipart.svg)](https://crates.io/crates/multipart)
=========

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

Supports several different HTTP crates.

###[Documentation](http://cybergeek94.github.io/multipart/doc/multipart/index.html)

##Integrations

Sample projects demonstrating how to use `multipart` with these crates are available under [`samples/`](samples).

####[Hyper](http://hyper.rs) 
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](http://ironframework.io) 
via the `iron` feature.

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](https://crates.io/crates/tiny_http/)
via the `tiny_http` feature.

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

####[Nickel](http://http://nickel.rs/) ^((New!))
via the `nickel_` feature

Provides server-side integration with `&mut nickel::Request` via `multipart::server::Multipart`. 

License
-------

Licensed under either of

 * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
 * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)

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.
<commit_msg>Fix (New!)<commit_after>Multipart [![Build Status](https://travis-ci.org/cybergeek94/multipart.svg?branch=master)](https://travis-ci.org/cybergeek94/multipart) [![On Crates.io](https://img.shields.io/crates/v/multipart.svg)](https://crates.io/crates/multipart)
=========

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

Supports several different HTTP crates.

###[Documentation](http://cybergeek94.github.io/multipart/doc/multipart/index.html)

##Integrations

Sample projects demonstrating how to use `multipart` with these crates are available under [`samples/`](samples).

####[Hyper](http://hyper.rs) 
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](http://ironframework.io) 
via the `iron` feature.

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](https://crates.io/crates/tiny_http/)
via the `tiny_http` feature.

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

####[Nickel](http://http://nickel.rs/) <sup>New!</sup>
via the `nickel_` feature

Provides server-side integration with `&mut nickel::Request` via `multipart::server::Multipart`. 

License
-------

Licensed under either of

 * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
 * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)

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.

{'fraction_non_alphanumeric': 0.1499884446498729, 'fraction_numerical': 0.006470996071180957, 'mean_word_length': 5.773082942097027, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 10, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1102518', 'n_tokens_mistral': 1319, 'n_tokens_neox': 1282, 'n_words': 361}