Skip to content

Instantly share code, notes, and snippets.

@kihon10
kihon10 / gist:5010568
Created February 22, 2013 03:48
uwsgi + heroku
I tried to use uwsgi on heroku. Latest version, uwsgi commit 591cec9a2ccad8533bd5d217a3cfd63fd2b0ee98
But I get this strange behavior:
- my app is 100% restful, using only json to communicate.
So, I send this message body using a curl client POST:
{"username":"[email protected]","password":"asdfg1"}
but uwsgi will send this to my bottle app:
/api/auth/[email protected]","password":"asdfg1"}
@kihon10
kihon10 / gist:4132294
Created November 22, 2012 17:31
brew uwsgi problem
Thu Nov 22 15:29:50 BRST 2012
~
jbastos@mbb: ttys000: $ brew --config
HOMEBREW_VERSION: 0.9.3
HEAD: 3103d8edb77658d3c6d45a7011559fee6311e376
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit sandybridge
OS X: 10.8.2-x86_64
Xcode: 4.5.2