Protocol::HTTP1
Provides a low-level implementation of the HTTP/1 protocol.
Installation
Add this line to your application's Gemfile:
gem 'protocol-http1'
And then execute:
$ bundle
Or install it yourself as:
$ gem install protocol-http1
Usage
Please browse the source code index or refer to the guides below.
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.
Releases
Please browse the releases for more details.
v0.35.0
- Add traces provider for
Protocol::HTTP1::Connection
.
v0.34.1
- Fix connection state handling to allow idempotent response body closing.
- Add
kisaten
fuzzing integration for improved security testing.
v0.34.0
- Support empty header values in HTTP parsing for better compatibility.
v0.33.0
- Support high-byte characters in HTTP headers for improved international compatibility.
v0.32.0
- Fix header parsing to handle tab characters between values correctly.
- Complete documentation coverage for all public APIs.
v0.31.0
- Enforce one-way transition for persistent connections to prevent invalid state changes.
v0.30.0
- Make
authority
header optional in HTTP requests for improved flexibility.
v0.29.0
- Add block/yield interface to
read_request
andread_response
methods.
v0.28.1
- Fix handling of
nil
lines in HTTP parsing.
v0.28.0
- Add configurable maximum line length to prevent denial of service attacks.
Contributing
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.
Developer Certificate of Origin
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.
Community Guidelines
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.