Permalink
Browse files

INSPECT_EWGI_RESPONSE also outputs the requested path_info.

  • Loading branch information...
1 parent 43e15a6 commit a178b38726478076a08b846a0c9f0387c8d441f2 @davide davide committed Oct 1, 2009
Showing with 3 additions and 1 deletion.
  1. +3 −1 include/ewgi.hrl
View
@@ -224,10 +224,12 @@
-define(INSPECT_EWGI_RESPONSE(Ctx),
begin
error_logger:info_msg("Inpecting the final ewgi_response()...~n"
+ "Requested Url: ~p~n"
"Status: ~p~n"
"Headers: ~p~n"
"Body: ~p~n",
- [ewgi_api:response_status(Ctx),
+ [ewgi_api:path_info(Ctx),
+ ewgi_api:response_status(Ctx),
ewgi_api:response_headers(Ctx),
ewgi_api:response_message_body(Ctx)]),
Ctx

0 comments on commit a178b38

Please sign in to comment.