Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding some missing retrival of header info.

  • Loading branch information...
commit 1d1097851033b4eb740bcb8dfe3572e295790852 1 parent aad177b
Torbjorn Tornkvist authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/yaws_bridge_modules/yaws_request_bridge.erl
View
4 src/yaws_bridge_modules/yaws_request_bridge.erl
@@ -58,7 +58,9 @@ headers(Arg) ->
{content_type, yaws_api:headers_content_type(Headers)},
{content_encoding, yaws_api:headers_content_encoding(Headers)},
{authorization, yaws_api:headers_authorization(Headers)},
- {transfer_encoding, yaws_api:headers_transfer_encoding(Headers)}
+ {transfer_encoding, yaws_api:headers_transfer_encoding(Headers)},
+ {x_forwarded_for, yaws_api:headers_x_forwarded_for(Headers)},
+ {other, yaws_api:headers_other(Headers)}
].
cookie(Key, Req) ->
Please sign in to comment.
Something went wrong with that request. Please try again.