Skip to content

MirrorBytes/slimweb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slimweb

Slim HTTP 1.1 client/server library.

I felt compelled (or inspired if you will) to write this library after reading this article: https://medium.com/@shnatsel/smoke-testing-rust-http-clients-b8f2ee5db4e6

More on the controversial side of the Rust community, it seemed quite interesting how such eloquent libraries could be riddled down to such minor details that could cause major problems. So, I'm throwing another into the mix that will probably hit that same point.

  • Rust 2018
  • No async functionality.
  • Decisively using deadlines for DoS prevention (didn't want to deal with leaky thread racing).
  • Using Rustls for SSL/TLS encryption.
  • Using flate2 for compression/decompression (GZip only).

Installation

[dependencies]
slimweb = "0.3"

Features

  • Client (default)

  • Server

  • tls (security)

  • json

  • compress (both compression and decompression)

  • punycode (for client only)

  • multipart (multipart/form-data)

ITW

  • Server deadlines
  • 100-Continue
  • Multipart/form-data
  • Strict adherence to deadlines
  • Better tests

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages