codejm

Results 2 issues of codejm

执行: `curl -H "Content-Type:jpeg" --data-binary @test.php "http://127.0.0.1:4869/upload"` 结果: `{"ret":true,"info":{"md5":"9ec24c8d5d2c6c1c9910f784fdbb2766","size":24}}`

求助:项目在ubuntu下运行完全没有问题,在mac上运行提示502,发现导致502的原因是:$dispatcher->registerPlugin($Twig); osx:10.10.2 nginx:1.6.2 php:5.6.5 yaf:2.3.4-dev(2.3.2也试过,同样的问题)

question