Provides a low-level implementation of the HTTP/1 protocol.
Add this line to your application's Gemfile:
gem 'protocol-http1'
And then execute:
$ bundle
Or install it yourself as:
$ gem install protocol-http1
Please see the project documentation for more details.
- Getting Started - This guide explains how to get started with
protocol-http1
, a low-level implementation of the HTTP/1 protocol for building HTTP clients and servers.
Please see the project releases for all releases.
- Add traces provider for
Protocol::HTTP1::Connection
.
- Fix connection state handling to allow idempotent response body closing.
- Add
kisaten
fuzzing integration for improved security testing.
- Support empty header values in HTTP parsing for better compatibility.
- Support high-byte characters in HTTP headers for improved international compatibility.
- Fix header parsing to handle tab characters between values correctly.
- Complete documentation coverage for all public APIs.
- Enforce one-way transition for persistent connections to prevent invalid state changes.
- Make
authority
header optional in HTTP requests for improved flexibility.
- Add block/yield interface to
read_request
andread_response
methods.
- Fix handling of
nil
lines in HTTP parsing.
- Add configurable maximum line length to prevent denial of service attacks.
We welcome contributions to this project.
- Fork it.
- Create your feature branch (
git checkout -b my-new-feature
). - Commit your changes (
git commit -am 'Add some feature'
). - Push to the branch (
git push origin my-new-feature
). - Create new Pull Request.
In order to protect users of this project, we require all contributors to comply with the Developer Certificate of Origin. This ensures that all contributions are properly licensed and attributed.
This project is best served by a collaborative and respectful environment. Treat each other professionally, respect differing viewpoints, and engage constructively. Harassment, discrimination, or harmful behavior is not tolerated. Communicate clearly, listen actively, and support one another. If any issues arise, please inform the project maintainers.