feat: Add HTTP/1.1 compliance testing package and baseline for shelf (#518) - Created `pkgs/_shelf_compliance` package to run HTTP/1.1 compliance tests. - Vendored the `Http11Probe` tool as a git submodule in `vendor/Http11Probe`. - Implemented a generic test harness in `test/compliance_test.dart` that runs the probe by category and verifies against goldens. - Created `bin/update_goldens.dart` to easily regenerate golden baseline JSON and markdown files. - Created `tool/generate_summary.dart` to post-process JSON reports into a clean, deduplicated markdown summary file (`shelf_summary.md`). - Added `mono_pkg.yaml` and configured a separate `compliance` workflow in `.github/workflows/compliance.yml`. - Added `tool/run_tests_with_dotnet.sh` to pre-install the .NET 10 SDK on CI runners before running tests.
Shelf makes it easy to create and compose web servers and parts of web servers. How?
It was inspired by Connect for NodeJS and Rack for Ruby.
See the package:shelf readme for more information.
| Package | Description | Issues | Version |
|---|---|---|---|
| shelf | A model for web server middleware that encourages composition and easy reuse. | ||
| shelf_packages_handler | A shelf handler for serving a packages/ directory. | ||
| shelf_proxy | A shelf handler for proxying HTTP requests to another server. | ||
| shelf_router | A convenient request router for the shelf web-framework, with support for URL-parameters, nested routers and routers generated from source annotations. | ||
| shelf_router_generator | A package:build-compatible builder for generating request routers for the shelf web-framework based on source annotations. | ||
| shelf_static | Static file server support for the shelf package and ecosystem. | ||
| shelf_test_handler | A Shelf handler that makes it easy to test HTTP interactions. | ||
| shelf_web_socket | A shelf handler that wires up a listener for every connection. | ||
| _shelf_compliance | HTTP/1.1 compliance and hardening tests. | (not published) |
For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.