26 Repos
Mechanisms for aborting requests and returning status codes.
Distinguishing note: No candidates provided; fits under web development.
Explore 26 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 ist ein minimalistisches Node.js-Web-Framework, das für die Erstellung leichtgewichtiger, asynchroner HTTP-Services und JSON-APIs konzipiert wurde. Es dient als Bibliothek mit geringem Footprint für das Deployment asynchroner Handler, die auf hohem Anfragevolumen und minimalem Overhead basieren. Das Framework nutzt ein funktionales Request- und Response-Modell und routet Traffic an eine einzelne exportierte asynchrone Funktion als primären Einstiegspunkt. Es ist auf die Verarbeitung eingehender JSON-Anfragen und die Rückgabe formatierter Antworten mit automatisierter Fehlerbehandlung spezialisiert. Kernfunktionen umfassen Request-Body-Parsing für JSON, Plain-Text und Binär-Buffer sowie automatische JSON-Response-Serialisierung. Das System bietet zudem Mechanismen zum Abfangen von Exceptions und deren Mapping auf standardisierte HTTP-Statuscodes.
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 ist ein umfassendes MVC-Webframework und eine Full-Stack-Toolchain für den Aufbau von Webanwendungen in Go. Es bietet eine strukturierte Entwicklungsumgebung, die Modelle, Views und Controller trennt und ein Webframework mit einem dedizierten Object-Relational-Mapper-Wrapper für Datenbankschema- und Datensatzverwaltung integriert. Das Projekt zeichnet sich durch eine Reihe von Entwicklungs-Utilities zum Bootstrapping von Projektstrukturen, zur Verwaltung von Assets und zum Erstellen produktionsreifer Container aus. Es verfügt über ein ausgeklügeltes Routing-System, das konventionsbasiertes RESTful-Ressourcen-Generieren, domänenbasiertes Virtual Hosting und die Erstellung von Route-Helpern für konsistente interne Verlinkungen unterstützt. Das Framework deckt ein breites Spektrum an Web-Kernfunktionen ab, einschließlich Middleware-basierter Request-Pipelines, dynamischem Template-Rendering und Request-Scoped-State-Management. Es enthält zudem integrierte Unterstützung für Hintergrundaufgabenverarbeitung, Session-Management, E-Mail-Versand und Graceful Server Shutdown.
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 ist ein minimales JavaScript-HTTP-Framework, das für den Aufbau von Webservern über mehrere Runtimes hinweg entwickelt wurde, einschließlich Node.js, Edge-Runtimes und Serverless-Plattformen. Es fungiert als Cross-Runtime-Webserver und Web-Standard-API-Wrapper, der verschiedene Runtime-Request- und Response-Objekte in Standard-Web-API-Signaturen normalisiert. Das Projekt dient als HTTP-Middleware-Orchestrator und Request-Handler, der eine Middleware-basierte Request-Pipeline und hierarchisches Routen-Mounting nutzt, um modulare Serverstrukturen zu erstellen. Es zeichnet sich durch einen Runtime-agnostischen Event-Wrapper aus, der konsistentes Verhalten unabhängig von der Bereitstellungsumgebung gewährleistet. Das Framework deckt ein breites Spektrum an Funktionen ab, einschließlich HTTP-Request-Routing mit dynamischer Parametererfassung, Echtzeit-WebSocket-Kommunikation und umfassenden Sicherheitsmaßnahmen wie CORS-Management und Basic-Authentifizierung. Zudem bietet es Hilfsmittel für das Sitzungsmanagement via Cookies, statisches Asset-Serving und Traffic-Management durch Request-Proxying und URL-Weiterleitung. Das Projekt ist in TypeScript implementiert.
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 is a chainable HTTP client library and Fetch API wrapper designed to simplify network request configuration, response parsing, and error handling. It functions as a network request manager and middleware framework for managing the end-to-end lifecycle of HTTP calls. The project is distinguished by a fluent interface for request configuration and a modular extension system. It utilizes a programmable response resolver to automate parsing and a plugin-based architecture to add new capabilities to request and response objects. The library covers a broad range of operational capabilities,
Transforms raw error responses into typed objects that include parsed bodies and status codes.