28 repository-uri
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 este un framework web minimalist pentru Node.js conceput pentru crearea de servicii HTTP asincrone și API-uri JSON ușoare. Acesta servește ca o bibliotecă cu amprentă redusă pentru implementarea handlerelor asincrone axate pe volume mari de cereri și overhead minim. Framework-ul utilizează un model funcțional de cerere și răspuns, rutând traficul către o singură funcție asincronă exportată ca punct de intrare principal. Este specializat în procesarea cererilor JSON primite și returnarea răspunsurilor formatate cu gestionarea automată a erorilor. Capabilitățile de bază includ parsarea corpului cererii pentru JSON, text simplu și buffere binare, precum și serializarea automată a răspunsurilor JSON. Sistemul oferă, de asemenea, mecanisme pentru interceptarea excepțiilor și maparea acestora către coduri de stare HTTP standardizate.
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 este un framework web MVC cuprinzător și un toolchain full-stack pentru construirea aplicațiilor web în Go. Oferă un mediu de dezvoltare structurat care separă modelele, view-urile și controllerele, integrând un framework web cu un wrapper dedicat de tip object-relational mapper (ORM) pentru gestionarea schemei bazei de date și a înregistrărilor. Proiectul se distinge printr-un set de utilitare de dezvoltare pentru bootstrapping-ul structurilor de proiect, gestionarea activelor și construirea de containere gata de producție. Dispune de un sistem de rutare sofisticat care suportă generarea de resurse RESTful bazată pe convenții, găzduire virtuală bazată pe domeniu și crearea de route helpers pentru link-uri interne consistente. Framework-ul acoperă o gamă largă de capabilități web de bază, inclusiv pipeline-uri de cereri bazate pe middleware, randarea dinamică a șabloanelor și gestionarea stării la nivel de cerere. Include, de asemenea, suport integrat pentru procesarea sarcinilor în fundal, gestionarea sesiunilor, trimiterea de e-mailuri și închiderea grațioasă a serverului.
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 este un framework HTTP JavaScript minimal conceput pentru construirea de servere web pe mai multe runtime-uri, inclusiv Node.js, edge runtimes și platforme serverless. Acesta funcționează ca un server web cross-runtime și un wrapper pentru API-urile web standard, normalizând diverse obiecte de cerere și răspuns ale runtime-urilor în semnături standard Web API. Proiectul servește drept orchestrator de middleware HTTP și handler de cereri, utilizând un pipeline de cereri bazat pe middleware și montarea ierarhică a rutelor pentru a crea structuri de server modulare. Se distinge printr-un wrapper de evenimente agnostic față de runtime, care asigură un comportament consistent indiferent de mediul de deployment. Framework-ul acoperă o gamă largă de capabilități, inclusiv rutarea cererilor HTTP cu capturarea dinamică a parametrilor, comunicare WebSocket în timp real și măsuri de securitate cuprinzătoare, cum ar fi gestionarea CORS și autentificarea de bază. De asemenea, oferă utilitare pentru gestionarea sesiunilor prin cookie-uri, servirea activelor statice și gestionarea traficului prin proxy-uri de cereri și redirecționări URL. Proiectul este implementat în 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 este o bibliotecă de client HTTP înlănțuibilă și un wrapper Fetch API conceput pentru a simplifica configurarea cererilor de rețea, parsarea răspunsurilor și gestionarea erorilor. Acesta funcționează ca un manager de cereri de rețea și framework de middleware pentru gestionarea întregului ciclu de viață al apelurilor HTTP. Proiectul se distinge printr-o interfață fluentă pentru configurarea cererilor și un sistem modular de extensii. Utilizează un resolver de răspuns programabil pentru a automatiza parsarea și o arhitectură bazată pe plugin-uri pentru a adăuga noi capabilități obiectelor de cerere și răspuns. Biblioteca acoperă o gamă largă de capabilități operaționale, inclusiv reîncercări automate ale cererilor cu backoff exponențial, caching-ul răspunsurilor și deduplicarea cererilor. Oferă instrumente pentru serializarea dinamică a payload-ului, validarea schemei de răspuns și un pipeline de middleware pentru transformarea globală a datelor și monitorizarea cererilor. Caracteristicile de securitate includ suport pentru autentificare de bază și reîmprospătarea automată a token-urilor. Biblioteca suportă implementări fetch personalizate pentru a asigura compatibilitatea între diferite medii.
Transforms raw error responses into typed objects that include parsed bodies and status codes.