actix-web
actix-web copied to clipboard
Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.
Hello, I currently try to parse a form but I have a Parse error for a specific case: ``` struct TestForm { text: Option, number: Option } ``` 1. Whether...
## Expected Behavior I am expecting to see an `allow` header for `405 Method Not Allowed` responses generated by the router. As per [RFC7231#6.5.5](https://datatracker.ietf.org/doc/html/rfc7231#section-6.5.5): > […] The origin server MUST...
## Expected Behavior actix-files should be able to serve pre-compressed file according to accept encoding setting(Either on disk or embedded in binary) ## Current Behavior All files serve must go...
Part of the apeal of `App::data_factory` is that it uses the local reactor when instantiating app data. It's equivalent and more natural to make `HttpServer::new` async.
I have a POST request that does some complex processing. However, for debug purposes I have commented out the meat of the handler body. This is what's left: ``` rust...
## Expected Behavior awc being able to successfully download the websites that work with curl and Firefox. ## Current Behavior On some websites, e.g. http://mapleleafs.com, awc fails with the following...
## Expected Behavior `awc` behavior being consistent with its API documentation. ## Current Behavior `awc` does not set `User-Agent` header by default, despite the presence of the following method, and...
We faced a potential bug where enough requests malformed would cause a (awc) client to no longer be usable with a given (actix-web) server. These malformed requests had a bad...
## Expected Behavior HTTP client should respect Content-Length even body of request is stream. ## Current Behavior Content-Length header is removed by client itself. ## Possible Solution respect Content-Length header...
## Expected Behavior chunked transfer-encoding on H2 is removed. it should never appear ## Current Behavior when sending request, awc is inserting chunked transfer-encoding header if content-length does not exists....