class SiteHub
Requirements: www.mnot.net/blog/2011/07/11/what_proxies_must_do
-
remove hop by hop headers
-
detect bad framing: where content length and content-encoding clash or are incorrect
-
fix conflicts between header and URL header
-
insert via (optional)
-
Expect header (optional)
rubocop:disable Metrics/ParameterLists
this helper module is for the benefit of middleware that may not otherwse respond to resolve. THis is to ensure that middleware wrapping the core forward proxy apps had the resolve method also.
Constants
- ASYNC_CALLBACK
- COMMA
- EMPTY_STRING
- EQUALS_SIGN
- ERRORS
- FULL_STOP
- HYPHEN
- NEW_LINE
- QUESTION_MARK
- RECORDED_ROUTES_COOKIE
- REQUEST
- REQUEST_MAPPING
- RESPONSE
- SEMICOLON
- SEMICOLON_WITH_SPACE
- SPACE
- TIME_STAMP_FORMAT
- UNDERSCORE
- VERSION
Public Class Methods
build(&block)
click to toggle source
# File lib/sitehub.rb, line 5 def build(&block) Builder.new(&block).build end