awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com

HTTP content negotiation service

Ranking updated Jun 30, 2026

For a middleware for handling http content negotiation, the first results are encode/django-rest-framework (Django REST Framework includes a built-in content negotiation system that handles Accept header parsing, media type mapping, and configurable negotiators, making it a solid fit for managing format negotiation within Django web APIs), ruby-grape/grape (Grape is a Ruby REST API framework with built-in content negotiation, allowing you to parse Accept headers, map media types, and serve multiple output formats – it fully addresses the format negotiation need, though it is a broader framework rather than a standalone service) and danielgtaylor/huma. nancyfx/nancy and willdurand/negotiation round out the shortlist. Compare the match explanations and check the project documentation against your requirements.

We curate open-source GitHub repositories matching “format negotiation services”. Results are ranked by relevance to your query — pick filters below to narrow, or refine with AI.

Results for “a middleware for handling http content negotiation”

Find the best repos with AI.We'll search the best matching repositories with AI.
  • encode/django-rest-frameworkencode avatar

    encode/django-rest-framework

    30,083View on GitHub↗

    Django REST Framework is a toolkit for building standards-compliant web services that map complex data models to structured HTTP responses. It provides a modular architecture for handling the request lifecycle, including authentication, permission checks, and content negotiation. The framework is designed to facilitate the development of robust APIs by transforming complex data types into native formats and validating incoming request payloads against defined schemas. The project distinguishes itself through a highly modular, class-based design that allows developers to build complex views an

    Django REST Framework includes a built-in content negotiation system that handles Accept header parsing, media type mapping, and configurable negotiators, making it a solid fit for managing format negotiation within Django web APIs.

    PythonData SerializationDynamic Response RenderersContent Negotiation Strategies
    View on GitHub↗30,083
  • ruby-grape/graperuby-grape avatar

    ruby-grape/grape

    9,990View on GitHub↗

    Grape is a RESTful web service framework for Ruby designed for building structured APIs. It provides a declarative syntax for routing and parameter validation, allowing developers to map HTTP verbs to logic through a domain specific language. The framework is distinguished by its built-in support for service versioning, which can be managed via URL paths, custom headers, or request parameters. It also features a modular architecture that allows large services to be constructed by nesting smaller API definitions. The project covers comprehensive API lifecycle capabilities, including schema-dr

    Grape is a Ruby REST API framework with built-in content negotiation, allowing you to parse Accept headers, map media types, and serve multiple output formats – it fully addresses the format negotiation need, though it is a broader framework rather than a standalone service.

    RubyCustom Content NegotiatorsContent NegotiationMedia Type Restrictions
    View on GitHub↗9,990
  • danielgtaylor/humadanielgtaylor avatar

    danielgtaylor/huma

    4,170View on GitHub↗

    Huma is an OpenAPI REST framework for Go designed for building HTTP services with automatic OpenAPI 3.1 specification generation and JSON Schema validation. It serves as a toolkit for developing REST and RPC APIs with typed inputs and outputs, deriving interactive documentation directly from the source code. The framework distinguishes itself by automating the synchronization between implementation and documentation. It uses a content-negotiation engine to manage multiple serialization formats via client headers and employs a JSON Schema input validator to automatically verify request paramet

    Huma is a Go REST API framework that includes a content-negotiation engine to manage serialization formats based on client Accept headers, covering Accept header parsing, media type mapping, format conversion, and web framework integration, though it does not mention response caching based on content type.

    GoContent NegotiationContent Negotiation
    View on GitHub↗4,170
  • nancyfx/nancyNancyFx avatar

    NancyFx/Nancy

    7,104View on GitHub↗

    Nancy is a lightweight .NET HTTP web framework used for building web services and APIs on .NET and Mono. Its core identity consists of a routing system for matching URL paths to handlers, a content negotiation engine for selecting response data formats, and a dependency injection container for resolving module requirements. The framework provides a cross-platform web host abstraction that allows applications to run within various web servers or as standalone self-hosted processes. It further decouples components by mapping requested service types to specific implementations at runtime. The s

    Nancy is a .NET web framework with a built-in content negotiation engine that selects response formats based on client preferences, making it a suitable tool for managing format negotiation in HTTP APIs, though it is a full-fledged framework rather than a standalone negotiation service.

    C#HTTP Service FrameworksContent Negotiation UtilitiesHTTP Content Negotiation
    View on GitHub↗7,104
  • willdurand/negotiationwilldurand avatar

    willdurand/Negotiation

    1,421View on GitHub↗

    Content Negotiation tools for PHP.

    willdurand/negotiation is a PHP library that handles content negotiation by parsing Accept headers and mapping media types to select appropriate response formats, directly supporting the core requirement of format negotiation in HTTP APIs.

    PHPAPI Development
    View on GitHub↗1,421
  • square/retrofitsquare avatar

    square/retrofit

    43,895View on GitHub↗

    Retrofit is a type-safe HTTP client that simplifies network communication by allowing developers to define API endpoints as interface methods. By using annotation-driven request mapping, it automatically translates these interface definitions into structured HTTP requests, ensuring consistent data structures and reducing manual configuration when interacting with remote web services. The project distinguishes itself through a highly modular architecture that separates network transport from data handling. It utilizes dynamic proxy generation to process method calls at runtime and offers a plu

    Retrofit is an HTTP client library for Android and Java, not a server-side content negotiation service; it handles outgoing Accept headers but does not parse client preferences or select response formats on the server.

    HTMLData Serialization
    View on GitHub↗43,895
  • imgproxy/imgproxyimgproxy avatar

    imgproxy/imgproxy

    10,876View on GitHub↗

    This project is a high-performance image transformation server and media optimization proxy designed to process, resize, and convert assets on the fly. It functions as a secure pipeline that fetches remote source files and applies transformations—such as cropping, watermarking, and visual filtering—directly through parameters defined in the request URL. The service distinguishes itself through a focus on secure, resource-aware delivery. It protects infrastructure by validating incoming requests with cryptographic signatures to prevent unauthorized access and enforces strict limits on file dim

    imgproxy is an image transformation server that converts and serves different formats based on URL parameters, not by parsing Accept headers or performing HTTP content negotiation, so it does not match the core capability of this search.

    GoCustom Content Negotiators
    View on GitHub↗10,876
  • chubin/wttr.inchubin avatar

    chubin/wttr.in

    29,882View on GitHub↗

    This project is a network-accessible weather information service designed specifically for command-line environments. It delivers real-time meteorological data directly to terminal interfaces through simple HTTP requests, allowing users to retrieve weather reports without leaving their development environment or using a web browser. The service distinguishes itself through a stateless architecture that utilizes content negotiation to provide the optimal output format based on the client request. Whether a user requires plain text, ANSI-colored terminal output, structured JSON for programmatic

    Wttr.in is a weather information service that uses content negotiation to deliver different output formats, but it's a specific application rather than a general-purpose tool or library for managing format negotiation in HTTP APIs.

    GoMulti-Format Data Providers
    View on GitHub↗29,882
  • api-platform/api-platformapi-platform avatar

    api-platform/api-platform

    9,154View on GitHub↗

    API Platform is a headless content management system engine and framework used to build REST and GraphQL APIs. It utilizes schema-driven generation to automatically produce web endpoints based on predefined data model definitions. The platform focuses on semantic data modeling, using structured classes and ontologies to ensure information is organized for search engines and semantic web tools. It provides an automated OpenAPI specification generator and a declarative system for creating administration dashboards to manage data records without custom frontend code. The system includes capabil

    API Platform is a full-featured framework for building REST and GraphQL APIs with schema-driven generation, and while it supports content negotiation (as its tags indicate), it is a broad API development platform rather than a focused tool or library dedicated solely to managing format negotiation based on client preferences.

    PHPAPI GeneratorsREST API FrameworksAdmin Dashboard Generators
    View on GitHub↗9,154
  • elysiajs/elysiaelysiajs avatar

    elysiajs/elysia

    18,531View on GitHub↗

    Elysia is a high-performance TypeScript web framework designed for building type-safe backend services. It provides a modular, plugin-based architecture that allows developers to compose server logic, middleware, and validation schemas into scalable application instances. By leveraging native web standards, the framework ensures portability across diverse JavaScript runtimes, including Node.js, Deno, and various edge computing environments. The framework distinguishes itself through its focus on end-to-end type safety, automatically synchronizing request and response definitions between the s

    Elysia is a high-performance web framework, not a dedicated content negotiation service; while it handles HTTP requests including Accept headers, its primary focus is type-safe server building rather than the granular format negotiation and rules this search targets.

    TypeScriptFramework IntegrationsWeb Framework Integrations
    View on GitHub↗18,531
  • graphql-hive/graphql-yogagraphql-hive avatar

    graphql-hive/graphql-yoga

    8,523View on GitHub↗

    Yoga is a GraphQL server framework and runtime-agnostic HTTP handler used to build and deploy GraphQL APIs. It functions as a toolkit for managing schemas and resolvers, providing a spec-compliant environment for hosting APIs across diverse JavaScript runtimes, including Node.js, Deno, Bun, and serverless cloud environments. The project distinguishes itself through its ability to act as an Apollo Federation gateway, composing multiple subgraphs into a single unified supergraph. It also serves as a dedicated subscription server, delivering real-time data streaming via both WebSockets and Serve

    GraphQL Yoga is a GraphQL server framework, not a general-purpose HTTP content-negotiation service — it focuses on GraphQL APIs and does not provide Accept header parsing, media type mapping, or format conversion for multiple response formats.

    TypeScriptWeb Framework Integrations
    View on GitHub↗8,523
  • vapor/vaporvapor avatar

    vapor/vapor

    26,138View on GitHub↗

    Vapor is a comprehensive server-side web framework designed for building scalable, high-performance applications and APIs in Swift. It provides a non-blocking, event-loop-based runtime that manages concurrent task processing, background job queues, and asynchronous request handling. The framework is built around a dependency injection container that manages the lifecycle and resolution of services, configurations, and database connections throughout the request pipeline. The framework distinguishes itself through a protocol-oriented design that emphasizes type safety across all layers of the

    Vapor is a full-featured Swift web framework that includes content negotiation as part of its HTTP handling, but it is not a dedicated content negotiation service; it is a broader framework that may work if you are building a Swift web app and need built-in format negotiation alongside many other features.

    SwiftWeb FrameworksAuthentication StrategiesData Modeling Frameworks
    View on GitHub↗26,138
Compare the top 10 at a glance
RepositoryStarsLanguageLicenseLast push
encode/django-rest-framework30.1KPythonNOASSERTIONJun 16, 2026
ruby-grape/grape10KRubyMITJun 23, 2026
danielgtaylor/huma
4.2K
Go
MIT
Jun 5, 2026
nancyfx/nancy7.1KC#MITJan 24, 2021
willdurand/negotiation1.4KPHPMITAug 3, 2023
square/retrofit43.9KHTMLApache-2.0Jun 12, 2026
imgproxy/imgproxy10.9KGoApache-2.0Jun 12, 2026
chubin/wttr.in29.9KGoApache-2.0Jun 14, 2026
api-platform/api-platform9.2KPHPMITJun 14, 2026
elysiajs/elysia18.5KTypeScriptMITJun 16, 2026

Related searches

  • File format detection
  • Data interchange formats
  • an open source rich text editor library
  • Map rendering library
  • XML formatter
  • Terminal output formatter
  • Data format samples
  • a dependency injection framework for software development