Flowdock
method

setup_forwarded_info

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: WEBrick::HTTPRequest

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_3_392) is shown here.

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.