28 repositorios
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 es un framework web minimalista para Node.js diseñado para crear servicios HTTP asíncronos y APIs JSON ligeras. Sirve como una biblioteca de bajo consumo para desplegar manejadores asíncronos centrados en altos volúmenes de solicitudes y una sobrecarga mínima. El framework utiliza un modelo funcional de solicitud y respuesta, enrutando el tráfico a una única función asíncrona exportada como punto de entrada principal. Se especializa en procesar solicitudes JSON entrantes y devolver respuestas formateadas con manejo automático de errores. Las capacidades principales incluyen el análisis del cuerpo de la solicitud para JSON, texto plano y buffers binarios, así como la serialización automática de respuestas JSON. El sistema también proporciona mecanismos para interceptar excepciones y mapearlas a códigos de estado HTTP estandarizados.
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 es un framework web MVC integral y una cadena de herramientas full-stack para construir aplicaciones web en Go. Proporciona un entorno de desarrollo estructurado que separa modelos, vistas y controladores, integrando un framework web con un envoltorio de mapeador objeto-relacional dedicado para la gestión de esquemas de base de datos y registros. El proyecto se distingue por un conjunto de utilidades de desarrollo para arrancar estructuras de proyectos, gestionar activos y construir contenedores listos para producción. Cuenta con un sistema de enrutamiento sofisticado que admite la generación de recursos RESTful basados en convenciones, alojamiento virtual basado en dominios y la creación de ayudantes de rutas para enlaces internos consistentes. El framework cubre una amplia gama de capacidades web principales, incluyendo tuberías de solicitudes basadas en middleware, renderizado dinámico de plantillas y gestión de estado con alcance de solicitud. También incluye soporte integrado para el procesamiento de tareas en segundo plano, gestión de sesiones, envío de correos electrónicos y apagado elegante del servidor.
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 es un framework HTTP minimalista en JavaScript diseñado para construir servidores web a través de múltiples runtimes, incluyendo Node.js, runtimes de edge y plataformas serverless. Funciona como un servidor web cross-runtime y un wrapper de API estándar web, normalizando varios objetos de petición y respuesta de runtime en firmas de Web API estándar. El proyecto sirve como orquestador de middleware HTTP y manejador de peticiones, utilizando un pipeline de peticiones basado en middleware y montaje jerárquico de rutas para crear estructuras de servidor modulares. Se distingue por un wrapper de eventos agnóstico al runtime que garantiza un comportamiento consistente independientemente del entorno de despliegue. El framework cubre una amplia gama de capacidades, incluyendo enrutamiento de peticiones HTTP con captura de parámetros dinámicos, comunicación WebSocket en tiempo real y medidas de seguridad integrales como gestión de CORS y autenticación básica. También proporciona utilidades para la gestión de sesiones mediante cookies, servicio de activos estáticos y gestión de tráfico mediante proxy de peticiones y redirección de URL. El proyecto está implementado 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 es una biblioteca de cliente HTTP encadenable y envoltorio de Fetch API diseñado para simplificar la configuración de solicitudes de red, el análisis de respuestas y el manejo de errores. Funciona como un gestor de solicitudes de red y framework de middleware para gestionar el ciclo de vida de extremo a extremo de las llamadas HTTP. El proyecto se distingue por una interfaz fluida para la configuración de solicitudes y un sistema de extensión modular. Utiliza un resolvedor de respuestas programable para automatizar el análisis y una arquitectura basada en plugins para añadir nuevas capacidades a los objetos de solicitud y respuesta. La biblioteca cubre una amplia gama de capacidades operativas, incluyendo reintentos automáticos de solicitudes con retroceso exponencial, almacenamiento en caché de respuestas y deduplicación de solicitudes. Proporciona herramientas para la serialización dinámica de cargas útiles, validación de esquemas de respuesta y una tubería de middleware para la transformación global de datos y la monitorización de solicitudes. Las características de seguridad incluyen soporte de autenticación básica y actualización automática de tokens. La biblioteca admite implementaciones personalizadas de fetch para garantizar la compatibilidad en diferentes entornos.
Transforms raw error responses into typed objects that include parsed bodies and status codes.