method

setup_forwarded_info

Importance_1
v1_9_3_125 - Show latest stable - 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.