On Thu, Mar 7, 2013 at 2:47 AM, Alec Taylor <alec.tayl...@gmail.com> wrote:
> My attempt:
>
> msg = (403, json.dumps({"state": "", "error_message": None, "error":
> "unauthorized_client"}), None, {'Content-Type': 'application/json'})
>

If I recall correctly, you are missing a **

Should be:
msg = (403, json.dumps({"state": "", "error_message": None, "error":
"unauthorized_client"}), None, **{'Content-Type': 'application/json'})

Ricardo

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to