module ObjectFramework::HTTP
HTTP/1.1 routing, presentation, and bounded request serving.
Constants
- Connection
- ERROR_TYPES
- Head
- Input
- Match
- Parameter
- Response
- Route
Public Class Methods
Source
# File lib/object_framework/http/protocol.rb, line 30 def self.register_errors(registry) ERROR_TYPES.each_key do |name| type = const_get(name) code = name.to_s.gsub(/([A-Z]+)([A-Z][a-z])/, '\1_\2').gsub(/([a-z])([A-Z])/, '\1_\2').downcase registry.register(type, category: :bad_request, code: "http_#{code}", title: type::TITLE) end end