28 dépôts
Mechanisms for aborting requests and returning status codes.
Distinguishing note: No candidates provided; fits under web development.
Explore 28 awesome GitHub repositories matching web development · HTTP Error Handling. Refine with filters or upvote what's useful.
Axios is a promise-based HTTP client used to make asynchronous network requests in both browser and Node.js environments. It functions as a multi-environment network adapter that abstracts the transport layer to ensure consistent behavior across different runtimes. The project distinguishes itself through a request lifecycle management system that allows for the cancellation of active requests, the setting of timeouts, and the monitoring of upload and download transfer progress. It includes a mechanism for intercepting network traffic, enabling the transformation of outgoing requests and inco
Rejects requests based on status codes and provides detailed error objects for debugging.
Axios is an isomorphic, promise-based HTTP client designed for making asynchronous network requests across different JavaScript execution environments, including the browser and Node.js. It functions as a JSON API client that serializes JavaScript objects into JSON and parses server responses into structured data. The project features a system for managing reusable client instances with shared configurations, such as base URLs and default settings. It includes a mechanism for intercepting outgoing requests and incoming responses globally, allowing data to be transformed before it reaches the
Implements logic to reject responses outside the successful range and return corresponding HTTP status codes.
Koa is a lightweight web framework for Node.js designed for building HTTP applications and servers. It functions as an asynchronous middleware engine that processes network requests through a sequence of functions sharing a common context. The framework distinguishes itself by using an onion-model middleware stack and promise-based flow control. This architecture allows requests to flow downstream and responses to flow back upstream through the same chain, enabling non-blocking request cycles and a modular approach to handling network traffic. The system provides high-level capabilities for
Allows throwing errors with specific status codes and metadata to generate appropriate HTTP error responses.
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
Aborts HTTP requests by throwing errors to return specific status codes to clients.
Iris is a high-performance web framework and API toolkit for the Go programming language. It provides the infrastructure necessary to build HTTP/2 web applications, REST APIs, and MVC-based websites. The project distinguishes itself through a flexible architectural model that supports multiple isolated application instances within a single process and allows for binary-embedded asset loading to eliminate external filesystem dependencies. It features dynamic router hot-reloading and a pluggable view engine for rendering dynamic HTML content. The framework covers a broad range of capabilities,
Provides custom logic and response bodies for handling specific HTTP status codes.
Sanic is an asynchronous Python web framework designed for building high-performance APIs and services. It operates as a production-ready ASGI web server, utilizing a non-blocking event loop to handle concurrent requests and maximize throughput. The framework is built to support scalable architectures, offering built-in worker process management to distribute traffic across available CPU cores. What distinguishes Sanic is its focus on modularity and developer-centric tooling. It features a blueprint-based system for organizing complex applications into pluggable components, alongside a robust
Interrupts request execution to return specific HTTP status codes and error messages to the client.
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
Configures error handling to return structured objects or throw exceptions for non-success status codes.
🌳 Tiny & elegant JavaScript HTTP client based on the Fetch API
Ky controls how non-2xx status codes are handled with selective error throwing and retry logic for failed requests.
Superagent is an isomorphic JavaScript HTTP client for sending network requests and processing responses across both Node.js and web browser environments. It provides a fluent request builder that uses a chainable interface to construct complex network requests with custom headers, query strings, and bodies. The library functions as a runtime-agnostic request adapter, allowing a single codebase to work consistently across different environments. It includes specialized capabilities such as an HTTP/2 client for forcing the HTTP/2 protocol and a Node.js agent for managing Unix socket connection
Provides capabilities to interpret specific HTTP status codes as errors and define custom success criteria.
Revel is a full-stack web framework and toolkit for building applications with the Go language. It implements a model-view-controller architecture to separate business logic from user interface rendering, providing a comprehensive system for routing, parameter binding, and session management. The project distinguishes itself with a high-productivity development environment featuring automatic code compilation and hot-reloading, which refreshes the application state and templates upon file changes without requiring manual restarts. It also employs reflection-based parameter binding to automati
Provides mechanisms for rendering specific error pages based on HTTP status codes and request formats.
Micro is a minimalist Node.js web framework designed for creating lightweight, asynchronous HTTP services and JSON APIs. It serves as a low-footprint library for deploying asynchronous handlers focused on high request volumes and minimal overhead. The framework utilizes a functional request and response model, routing traffic to a single exported asynchronous function as the primary entry point. It specializes in processing incoming JSON requests and returning formatted responses with automated error handling. Core capabilities include request body parsing for JSON, plain text, and binary bu
Implements mechanisms to catch exceptions and automatically return appropriate HTTP status codes.
node-fetch is a promise-based HTTP client library that provides a lightweight implementation of the Fetch API for the Node.js runtime. It serves as a network interface for performing asynchronous HTTP requests, handling server communication, and managing headers. The library utilizes a promise-based request lifecycle to wrap network calls, ensuring asynchronous behavior. It incorporates stream-based handling for both requests and responses to process large payloads efficiently without overloading system memory. Its capabilities cover a broad range of network communication tasks, including th
Implements mechanisms for identifying client or server errors via HTTP status codes and operational exception catching.
Buffalo est un framework web MVC complet et une chaîne d'outils full-stack pour construire des applications web en Go. Il fournit un environnement de développement structuré qui sépare les modèles, les vues et les contrôleurs, intégrant un framework web avec un wrapper d'ORM (Object-Relational Mapper) dédié pour la gestion des schémas de base de données et des enregistrements. Le projet se distingue par un ensemble d'utilitaires de développement pour amorcer les structures de projet, gérer les actifs et construire des conteneurs prêts pour la production. Il dispose d'un système de routage sophistiqué qui prend en charge la génération de ressources RESTful basée sur des conventions, l'hébergement virtuel basé sur le domaine et la création d'helpers de route pour un liage interne cohérent. Le framework couvre un large éventail de capacités web fondamentales, notamment les pipelines de requêtes basés sur des middlewares, le rendu de modèles dynamiques et la gestion d'état limitée à la requête. Il inclut également une prise en charge intégrée du traitement des tâches en arrière-plan, de la gestion des sessions, de l'envoi d'e-mails et de l'arrêt gracieux du serveur.
Implements mechanisms for aborting requests and returning standardized HTTP status codes.
FastHTML is a full-stack Python web framework designed for building interactive web applications using pure Python. It functions as an HTMX integration framework and a Python HTML domain-specific language, allowing developers to generate HTML structures using native objects and functions instead of external templating files. The framework is distinguished by its native support for real-time bidirectional communication via WebSockets and Server-Sent Events, enabling server-side updates to be pushed to the browser without full page reloads. It further integrates identity management through OAut
Provides mechanisms for aborting requests and returning custom HTTP status codes.
Intercepts API calls and returns custom HTTP error codes to test application error handling.
Podinfo is a Go-based microservice template designed for Kubernetes, providing a standard pattern for building and testing containerised applications. It exposes REST endpoints for health checks, version information, and configuration, and supports environment-driven configuration for containerised deployment. The project distinguishes itself with built-in capabilities for resilience testing, including fault injection middleware that can inject random errors, latency spikes, or status code mutations. It also offers JWT token-based authentication for stateless request validation, Prometheus me
Triggers configurable error responses and latency spikes to test resilience and observability tooling.
CRI-O is an open-source container runtime that implements the Kubernetes Container Runtime Interface (CRI) to manage container images, pods, and containers on cluster nodes using OCI-compatible runtimes. It serves as a node-level container manager that handles image pulling, container lifecycle, and resource monitoring for Kubernetes clusters, running containers according to the Open Container Initiative specifications. The runtime distinguishes itself through live configuration reloading that applies changes to runtime definitions, registry mirrors, and TLS certificates without restarting th
Prevents superfluous response.WriteHeader errors in the HTTP endpoint.
Hono est un framework HTTP JavaScript minimal conçu pour construire des serveurs web à travers de multiples runtimes, incluant Node.js, les runtimes edge et les plateformes serverless. Il fonctionne comme un serveur web cross-runtime et un wrapper d'API web standard, normalisant divers objets de requête et réponse en signatures Web API standards. Le projet sert d'orchestrateur de middleware HTTP et de gestionnaire de requêtes, utilisant un pipeline de requêtes basé sur des middlewares et un montage de routes hiérarchique pour créer des structures de serveur modulaires. Il se distingue par un wrapper d'événements agnostique au runtime qui assure un comportement cohérent quel que soit l'environnement de déploiement. Le framework couvre un large éventail de capacités, incluant le routage de requêtes HTTP avec capture de paramètres dynamiques, la communication WebSocket en temps réel et des mesures de sécurité complètes comme la gestion CORS et l'authentification basique. Il fournit également des utilitaires pour la gestion de session via cookies, le service d'assets statiques et la gestion du trafic via proxy de requêtes et redirection d'URL. Le projet est implémenté en TypeScript.
Throws structured errors to terminate requests with specific status codes and JSON payloads.
ofetch is an HTTP client built on the native fetch API that adds automatic JSON serialization, request/response interceptors, configurable retry, and timeout handling. It provides descriptive error objects for non-OK responses and automatically parses response bodies based on their content type. The client supports creating pre-configured instances with preset base URLs, headers, and default options, enabling consistent configuration across a project. It offers full TypeScript type inference for response data and request payloads, and allows extending request options with custom properties wh
Provides descriptive error objects containing the parsed response body for failed HTTP requests.
Wretch est une bibliothèque de client HTTP chaînable et un wrapper Fetch API conçu pour simplifier la configuration des requêtes réseau, l'analyse des réponses et la gestion des erreurs. Il fonctionne comme un gestionnaire de requêtes réseau et un framework de middleware pour gérer le cycle de vie de bout en bout des appels HTTP. Le projet se distingue par une interface fluide pour la configuration des requêtes et un système d'extension modulaire. Il utilise un résolveur de réponse programmable pour automatiser l'analyse et une architecture basée sur des plugins pour ajouter de nouvelles capacités aux objets de requête et de réponse. La bibliothèque couvre un large éventail de capacités opérationnelles, notamment les tentatives de requête automatiques avec recul exponentiel, la mise en cache des réponses et la déduplication des requêtes. Il fournit des outils pour la sérialisation dynamique des charges utiles, la validation du schéma de réponse et un pipeline de middleware pour la transformation globale des données et la surveillance des requêtes. Les fonctionnalités de sécurité incluent la prise en charge de l'authentification de base et le rafraîchissement automatique des jetons. La bibliothèque prend en charge des implémentations de fetch personnalisées pour assurer la compatibilité entre différents environnements.
Transforms raw error responses into typed objects that include parsed bodies and status codes.