Provides abstractions for working with the HTTP protocol.
Please see the project documentation for more details.
Streaming - This guide gives an overview of how to implement streaming requests and responses.
Getting Started - This guide explains how to use protocol-http
for building abstract HTTP interfaces.
Design Overview - This guide explains the high level design of protocol-http
in the context of wider design patterns that can be used to implement HTTP clients and servers.
Please see the project releases for all releases.
Protocol::HTTP::Headers
now raise a DuplicateHeaderError
when a duplicate singleton header (e.g. content-length
) is added.Protocol::HTTP::Headers#add
now coerces the value to a string when adding a header, ensuring consistent behaviour.Protocol::HTTP::Body::Head.for
now accepts an optional length
parameter, allowing it to create a head body even when the body is not provided, based on the known content length.- Drop support for Ruby v3.1.
accept
, accept-charset
, accept-encoding
and accept-language
headers into structured values.priority:
header.Protocol::Rack::Body::Streaming
to Protocol::HTTP::Body::Streamable
.Async::HTTP::Body::Writable
to Protocol::HTTP::Body::Writable
.We welcome contributions to this project.
git checkout -b my-new-feature
).git commit -am 'Add some feature'
).git push origin my-new-feature
).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.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4