├── .github ├── dependabot.yml └── workflows │ ├── audit.yml │ ├── coverage.yml │ └── release.yaml ├── .gitignore ├── .rustfmt.toml ├── Cargo.toml ├── LICENSE ├── README.md ├── src ├── accessor.rs ├── assert_actix.rs ├── assert_awc.rs ├── assert_axum.rs ├── assert_hyper.rs ├── assert_isahc.rs ├── assert_reqwest.rs ├── assert_rocket.rs ├── assert_surf.rs ├── assert_ureq.rs ├── body │ ├── fallible.rs │ ├── infallible.rs │ └── mod.rs ├── error.rs ├── grpc.rs ├── header │ ├── fallible.rs │ ├── infallible.rs │ ├── key.rs │ ├── mod.rs │ ├── value.rs │ └── values.rs ├── lib.rs └── status │ ├── fallible.rs │ ├── infallible.rs │ └── mod.rs └── tests ├── actix_test.rs ├── all.rs ├── awc_test.rs ├── axum_test.rs ├── grpc.rs ├── hyper_test.rs ├── isahc_test.rs ├── protos └── grpc.proto ├── reqwest_test.rs ├── rocket_test.rs ├── stubs ├── body │ ├── bytes │ │ ├── absent.json │ │ └── value.json │ ├── json │ │ ├── absent.json │ │ └── value.json │ └── text │ │ ├── absent.json │ │ └── value.json ├── full.json ├── header │ ├── cache-control.json │ ├── json.json │ ├── many.json │ ├── multi.json │ ├── one.json │ ├── text.json │ └── xml.json └── status │ ├── accepted.json │ ├── bad-request.json │ ├── conflict.json │ ├── created.json │ ├── forbidden.json │ ├── gone.json │ ├── moved-permanently.json │ ├── no-content.json │ ├── not-found.json │ ├── ok.json │ ├── partial-content.json │ ├── server-error.json │ └── unauthorized.json ├── surf_test.rs └── ureq_test.rs /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/audit.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/.github/workflows/audit.yml -------------------------------------------------------------------------------- /.github/workflows/coverage.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/.github/workflows/coverage.yml -------------------------------------------------------------------------------- /.github/workflows/release.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/.github/workflows/release.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/.gitignore -------------------------------------------------------------------------------- /.rustfmt.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/.rustfmt.toml -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/README.md -------------------------------------------------------------------------------- /src/accessor.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/src/accessor.rs -------------------------------------------------------------------------------- /src/assert_actix.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/src/assert_actix.rs -------------------------------------------------------------------------------- /src/assert_awc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/src/assert_awc.rs -------------------------------------------------------------------------------- /src/assert_axum.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/src/assert_axum.rs -------------------------------------------------------------------------------- /src/assert_hyper.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/src/assert_hyper.rs -------------------------------------------------------------------------------- /src/assert_isahc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/src/assert_isahc.rs -------------------------------------------------------------------------------- /src/assert_reqwest.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/src/assert_reqwest.rs -------------------------------------------------------------------------------- /src/assert_rocket.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/src/assert_rocket.rs -------------------------------------------------------------------------------- /src/assert_surf.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/src/assert_surf.rs -------------------------------------------------------------------------------- /src/assert_ureq.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/src/assert_ureq.rs -------------------------------------------------------------------------------- /src/body/fallible.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/src/body/fallible.rs -------------------------------------------------------------------------------- /src/body/infallible.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/src/body/infallible.rs -------------------------------------------------------------------------------- /src/body/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/src/body/mod.rs -------------------------------------------------------------------------------- /src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/src/error.rs -------------------------------------------------------------------------------- /src/grpc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/src/grpc.rs -------------------------------------------------------------------------------- /src/header/fallible.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/src/header/fallible.rs -------------------------------------------------------------------------------- /src/header/infallible.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/src/header/infallible.rs -------------------------------------------------------------------------------- /src/header/key.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/src/header/key.rs -------------------------------------------------------------------------------- /src/header/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/src/header/mod.rs -------------------------------------------------------------------------------- /src/header/value.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/src/header/value.rs -------------------------------------------------------------------------------- /src/header/values.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/src/header/values.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/status/fallible.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/src/status/fallible.rs -------------------------------------------------------------------------------- /src/status/infallible.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/src/status/infallible.rs -------------------------------------------------------------------------------- /src/status/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/src/status/mod.rs -------------------------------------------------------------------------------- /tests/actix_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/actix_test.rs -------------------------------------------------------------------------------- /tests/all.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/all.rs -------------------------------------------------------------------------------- /tests/awc_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/awc_test.rs -------------------------------------------------------------------------------- /tests/axum_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/axum_test.rs -------------------------------------------------------------------------------- /tests/grpc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/grpc.rs -------------------------------------------------------------------------------- /tests/hyper_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/hyper_test.rs -------------------------------------------------------------------------------- /tests/isahc_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/isahc_test.rs -------------------------------------------------------------------------------- /tests/protos/grpc.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/protos/grpc.proto -------------------------------------------------------------------------------- /tests/reqwest_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/reqwest_test.rs -------------------------------------------------------------------------------- /tests/rocket_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/rocket_test.rs -------------------------------------------------------------------------------- /tests/stubs/body/bytes/absent.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/stubs/body/bytes/absent.json -------------------------------------------------------------------------------- /tests/stubs/body/bytes/value.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/stubs/body/bytes/value.json -------------------------------------------------------------------------------- /tests/stubs/body/json/absent.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/stubs/body/json/absent.json -------------------------------------------------------------------------------- /tests/stubs/body/json/value.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/stubs/body/json/value.json -------------------------------------------------------------------------------- /tests/stubs/body/text/absent.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/stubs/body/text/absent.json -------------------------------------------------------------------------------- /tests/stubs/body/text/value.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/stubs/body/text/value.json -------------------------------------------------------------------------------- /tests/stubs/full.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/stubs/full.json -------------------------------------------------------------------------------- /tests/stubs/header/cache-control.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/stubs/header/cache-control.json -------------------------------------------------------------------------------- /tests/stubs/header/json.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/stubs/header/json.json -------------------------------------------------------------------------------- /tests/stubs/header/many.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/stubs/header/many.json -------------------------------------------------------------------------------- /tests/stubs/header/multi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/stubs/header/multi.json -------------------------------------------------------------------------------- /tests/stubs/header/one.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/stubs/header/one.json -------------------------------------------------------------------------------- /tests/stubs/header/text.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/stubs/header/text.json -------------------------------------------------------------------------------- /tests/stubs/header/xml.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/stubs/header/xml.json -------------------------------------------------------------------------------- /tests/stubs/status/accepted.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/stubs/status/accepted.json -------------------------------------------------------------------------------- /tests/stubs/status/bad-request.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/stubs/status/bad-request.json -------------------------------------------------------------------------------- /tests/stubs/status/conflict.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/stubs/status/conflict.json -------------------------------------------------------------------------------- /tests/stubs/status/created.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/stubs/status/created.json -------------------------------------------------------------------------------- /tests/stubs/status/forbidden.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/stubs/status/forbidden.json -------------------------------------------------------------------------------- /tests/stubs/status/gone.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/stubs/status/gone.json -------------------------------------------------------------------------------- /tests/stubs/status/moved-permanently.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/stubs/status/moved-permanently.json -------------------------------------------------------------------------------- /tests/stubs/status/no-content.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/stubs/status/no-content.json -------------------------------------------------------------------------------- /tests/stubs/status/not-found.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/stubs/status/not-found.json -------------------------------------------------------------------------------- /tests/stubs/status/ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/stubs/status/ok.json -------------------------------------------------------------------------------- /tests/stubs/status/partial-content.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/stubs/status/partial-content.json -------------------------------------------------------------------------------- /tests/stubs/status/server-error.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/stubs/status/server-error.json -------------------------------------------------------------------------------- /tests/stubs/status/unauthorized.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/stubs/status/unauthorized.json -------------------------------------------------------------------------------- /tests/surf_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/surf_test.rs -------------------------------------------------------------------------------- /tests/ureq_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beltram/asserhttp/HEAD/tests/ureq_test.rs --------------------------------------------------------------------------------