http-types icon indicating copy to clipboard operation
http-types copied to clipboard

Common types for HTTP operations

Results 110 http-types issues
Sort by recently updated
recently updated
newest added

Pros of `file-format` against `infer`: - Support for many more formats (including **CFB-based** and **ZIP-based**) - Enum-based API - No error on detection from bytes (**Arbitrary Binary Data** returned by...

http-types 2.12.0 is the latest version. The default features pull in dependencies with reported vulnerabilities. Steps to reproduce. The `cargo check` will create the `Cargo.lock` that `cargo audit` uses. ```...

There is an open rustsec issue ([RUSTSEC-2021-0023](https://rustsec.org/advisories/RUSTSEC-2021-0023.html)) about a transitive dependency of http-types 2.12.0. On the main branch this seems to be fixed by migrating to `fastrand` but I think...

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/style-src-elem

[RFC 7231 section 5.3.2](https://tools.ietf.org/html/rfc7231#section-5.3.2) says: > The "Accept" header field can be used by user agents to specify response media types that are acceptable. Accept header fields can be used...

bug
good first issue

In a strange constellation I'm running into the following error: ```plain error[E0308]: mismatched types --> /Users/I563162/.cargo/registry/src/github.com-1ecc6299db9ec823/http-types-2.12.0/src/error.rs:114:18 | 114 | Some(backtrace) | ---- ^^^^^^^^^ expected `&Backtrace`, found enum `std::option::Option` | |...

The previous implementation of `Forwarded` header parsing didn't implement anything closely resembling the specification of the `Forwarded` header in RFC 7239 and would fail on almost any real-world `Forwarded` header...

Cloudflare seems to be defining a few custom error codes in the 5xx area. Not cool, I know. https://support.cloudflare.com/hc/en-us/articles/115003011431-Troubleshooting-Cloudflare-5XX-errors The `StatusCode` enum doesn't contain them, and this causes a panic...

basically, this but with the other fields that the json database provides: https://github.com/Fishrock123/tide-compress/blob/main/build.rs see https://github.com/jshttp/mime-db/blob/master/db.json

enhancement
HTTP Header