This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Homebrew build logs for mitmproxy on Mac OS X 10.11.3 | |
Build date: 2016-04-05 11:57:21 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// http://www.example.com/foo | |
$app->get('/foo', | |
// route middleware throws Pass exception based on query arg variables. | |
function() use ($app) | |
{ | |
$getVars = $app->request->params(); | |
if (isset($getVars['hello']) && ('world' == $getVars['hello'])) | |
{ | |
throw new \Slim\Exception\Pass; |