> Hi
>
> I am using mongrel2 with uwsgi handlers. Here is an example problem:
>
> JSON 260:
> {"PATH":"/json_rpc/overlays/create","x-forwarded-for":"127.0.0.1","connection":"Keep-Alive","accept":"*/*","user-agent":"Wget/1.12
> (linux-gnu)","host"
> :"localhost:6767","METHOD":"GET","VERSION":"HTTP/1.0","URI":"/json_rpc/overlays/
> create","PATTERN":"/json_rpc"}
> add uwsgi var: REQUEST_METHOD = GET
> add uwsgi var: SERVER_PROTOCOL = HTTP/1.0
> add uwsgi var: SCRIPT_NAME = /json_rp
> add uwsgi var: PATH_INFO = c/overlays/create
> add uwsgi var: REQUEST_URI = /json_rpc/overlays/create
> add uwsgi var: SERVER_PORT = 6767
> add uwsgi var: SERVER_NAME = blah_name
> add uwsgi var: CONNECTION = Keep-Alive
> add uwsgi var: X_FORWARDED_FOR = 127.0.0.1
> add uwsgi var: ACCEPT = */*
> add uwsgi var: USER_AGENT = Wget/1.12 (linux-gnu)
> add uwsgi var: HOST = localhost:6767
>
> If patch gets scrubbed I can send it another way or it is a simple fix
> near line 68 in proto/zeromq.c.
>
>
If i remember correctly, that code was here as PATTERN was always ending
with an additional /. I have to suppose that this is not (or never was) a
rule. Maybe the best choice would be adding a condition.
--
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi