Permalink
Browse files

allow a plugin to redirect a request

  • Loading branch information...
1 parent 19480d8 commit 932c8e815cb66034420e045edfebd3b95392e255 @paulbarbu committed May 10, 2014
Showing with 3 additions and 0 deletions.
  1. +3 −0 httpconnection.cpp
View
3 httpconnection.cpp
@@ -117,6 +117,9 @@ void HTTPConnection::processRequestData(HTTPRequest requestData)
return;
}
+ connect(requestHandler, SIGNAL(redirect(HTTPRequest)), this,
+ SLOT(processRequestData(HTTPRequest)));
+
connect(requestHandler, SIGNAL(responseWritten(HTTPResponse)), this,
SLOT(write(HTTPResponse)));

0 comments on commit 932c8e8

Please sign in to comment.