Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

11 lines (8 sloc) 0.277 kB
-module(intercept2).
-export([rewrite_request/2, rewrite_response/2]).
rewrite_request(Req, Hdrs) ->
{ok, Req, Hdrs}.
%% Test that returning an incorrect return value from rewrite_request
%% is handled correctly by the reverse proxy.
rewrite_response(_, _) ->
error.
Jump to Line
Something went wrong with that request. Please try again.