You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have registered a HttpResource on the Path "CSPInternal" and allowed only method POST.
In render_POST I print all path pieces but I get strange results.
curl -X POST -d "foo=bar" https://localhost:9999/CSPInternal/newMethod"
If I use the method getPath() of HttpRequest i get the right value : CSPInternal/newMethod
But if I use getPathPieces() a vector with 4 elements is returned:
Inside anserToConnection method the setPath of the HttpRequest is called and inside this method the path pieces are pushed back in a vector. Due to multiple calls of answerToConnection (a normal behavior) the vector grows larger than necessary
Activity
losciamano commentedon Apr 26, 2012
Inside
anserToConnectionmethod thesetPathof theHttpRequestis called and inside this method the path pieces are pushed back in a vector. Due to multiple calls ofanswerToConnection(a normal behavior) the vector grows larger than necessaryetr commentedon Apr 26, 2012
Thanks for the bug signal; I just pushed an update that solve this problem.
fix/task-045-review-cleanup: address 4 major + 26 minor review findings
review backlog: Pass 1 — disposition all unworked items in 22 review …