28 مستودعات
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 هو إطار عمل ويب بسيط لـ Node.js مصمم لإنشاء خدمات HTTP غير متزامنة خفيفة الوزن وJSON APIs. يعمل كمكتبة ذات بصمة منخفضة لنشر معالجات غير متزامنة تركز على أحجام الطلبات العالية والحد الأدنى من النفقات العامة. يستخدم إطار العمل نموذج طلب واستجابة وظيفي، يوجه حركة المرور إلى دالة غير متزامنة واحدة مصدرة كنقطة دخول أساسية. وهو متخصص في معالجة طلبات JSON الواردة وإرجاع استجابات منسقة مع معالجة مؤتمتة للأخطاء. تشمل القدرات الأساسية تحليل جسم الطلب لـ JSON، والنص العادي، والمخازن المؤقتة الثنائية، بالإضافة إلى تسلسل استجابة JSON التلقائي. يوفر النظام أيضاً آليات لاعتراض الاستثناءات وتعيينها إلى رموز حالة HTTP القياسية.
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 هو إطار عمل ويب MVC شامل وسلسلة أدوات متكاملة لبناء تطبيقات الويب في Go. يوفر بيئة تطوير منظمة تفصل بين النماذج والعروض ووحدات التحكم، مع دمج إطار عمل ويب مع غلاف تعيين كائني-علائقي (ORM) مخصص لإدارة مخطط قاعدة البيانات والسجلات. يتميز المشروع بمجموعة من أدوات التطوير لتمهيد هياكل المشاريع، وإدارة الأصول، وبناء حاويات جاهزة للإنتاج. يتميز بنظام توجيه متطور يدعم توليد الموارد RESTful القائم على الاتفاقيات، والاستضافة الافتراضية القائمة على النطاق، وإنشاء مساعدي المسارات للربط الداخلي المتسق. يغطي إطار العمل مجموعة واسعة من قدرات الويب الأساسية، بما في ذلك خطوط أنابيب الطلبات القائمة على البرمجيات الوسيطة (middleware)، وعرض القوالب الديناميكي، وإدارة الحالة ذات النطاق الخاص بالطلب. كما يتضمن دعماً متكاملاً لمعالجة المهام في الخلفية، وإدارة الجلسات، وإرسال البريد الإلكتروني، وإيقاف تشغيل الخادم بشكل سلس.
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 is a minimal JavaScript HTTP framework designed for building web servers across multiple runtimes, including Node.js, edge runtimes, and serverless platforms. It functions as a cross-runtime web server and a web standard API wrapper, normalizing various runtime request and response objects into standard Web API signatures. The project serves as an HTTP middleware orchestrator and request handler, utilizing a middleware-based request pipeline and hierarchical route mounting to create modular server structures. It distinguishes itself through a runtime-agnostic event wrapper that ensures c
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 هي مكتبة عميل HTTP قابلة للتسلسل ومغلف Fetch API مصمم لتبسيط تكوين طلب الشبكة، وتحليل الاستجابة، ومعالجة الأخطاء. يعمل كمدير لطلب الشبكة وإطار عمل وسيط لإدارة دورة حياة مكالمات HTTP من البداية إلى النهاية. يتميز المشروع بواجهة سلسة لتكوين الطلب ونظام امتداد معياري. يستخدم محلل استجابة قابلاً للبرمجة لأتمتة التحليل وبنية قائمة على المكونات الإضافية لإضافة قدرات جديدة إلى كائنات الطلب والاستجابة. تغطي المكتبة مجموعة واسعة من القدرات التشغيلية، بما في ذلك عمليات إعادة محاولة الطلب التلقائية مع التراجع الأسي، والتخزين المؤقت للاستجابة، وإلغاء تكرار الطلب. يوفر أدوات لتسلسل الحمولة الديناميكي، والتحقق من مخطط الاستجابة، وخط أنابيب وسيط لتحويل البيانات العالمي ومراقبة الطلب. تشمل ميزات الأمان دعم المصادقة الأساسية وتحديث الرمز المميز التلقائي. تدعم المكتبة تطبيقات fetch المخصصة لضمان التوافق عبر بيئات مختلفة.
Transforms raw error responses into typed objects that include parsed bodies and status codes.