[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[silpa-discuss] [libindic/Silpa-Flask] e3f16d: Don't create Blueprint wi
From: |
Vasudeva Kamath |
Subject: |
[silpa-discuss] [libindic/Silpa-Flask] e3f16d: Don't create Blueprint with url_prefix as /api |
Date: |
Thu, 26 May 2016 05:07:48 -0700 |
Branch: refs/heads/development
Home: https://github.com/libindic/Silpa-Flask
Commit: e3f16d8133727c80f64691df035f7adf56d2663d
https://github.com/libindic/Silpa-Flask/commit/e3f16d8133727c80f64691df035f7adf56d2663d
Author: Vasudeva Kamath <address@hidden>
Date: 2016-05-26 (Thu, 26 May 2016)
Changed paths:
M silpa/api/jsonrpc.py
Log Message:
-----------
Don't create Blueprint with url_prefix as /api
When the request is processed the PATH_INFO becomes /JSONRPC instead of
/api/JSONRPC. After a bit of debugging I figured out since we are
already registering app at /api we do not need url_prefix.
Removing url_prefix from Blueprint fixed the 404 issue.
(Though its still unclear to me what was mistake I did by using
url_prefix in Blueprint creation).
Commit: 0de2c381012b00427bdbb9df0bd8e0050b2b3fa3
https://github.com/libindic/Silpa-Flask/commit/0de2c381012b00427bdbb9df0bd8e0050b2b3fa3
Author: Vasudeva Kamath <address@hidden>
Date: 2016-05-26 (Thu, 26 May 2016)
Changed paths:
M silpa/api/jsonrpc.py
Log Message:
-----------
Provide what error really happened in exception
This is useful for developers to figure out reasons for error in server
code.
Compare:
https://github.com/libindic/Silpa-Flask/compare/d5cdeea9de8b...0de2c381012b
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [silpa-discuss] [libindic/Silpa-Flask] e3f16d: Don't create Blueprint with url_prefix as /api,
Vasudeva Kamath <=