Flowdock
method

setup_forwarded_info

Importance_1
Ruby latest stable (v1_9_3_392) - 0 notes - Class: WEBrick::HTTPRequest
setup_forwarded_info() private

It’s said that all X-Forwarded-* headers will contain more than one (comma-separated) value if the original request already contained one of these headers. Since we could use these values as Host header, we choose the initial(first) value. (apr_table_mergen() adds new value after the existing value with “, ” prefix)

Show source
Register or log in to add new notes.