Case Insensitive URLs for wso2 Request URL

2019-09-06 08:50发布

I created an api with context MyStudents in wso2 publisher. So the Request URL is MyStudents/v1. When I publish this api, I have resource /Students/{name}. In the wso2 store, when I try out the feature, the URL is http://MyServer.com/MyStudents/v1/Students/foo. If I keep the case as is in the URL, then my api works. If I use any other tool to call and change the case in url to http://MyServerName.com/mystudents/students/foo, then I get a 202 error. Can you please tell me how to make my urls case insensitive in wso2? Thanks.

标签: url wso2
1条回答
欢心
2楼-- · 2019-09-06 09:49

According to HTTP/1.1 specification, RFC2621 section 3.2.3 (http://tools.ietf.org/html/rfc2616#section-3.2.3) the path in HTTP URLs is case-sensitive. So from my point of view the WSO2 API Manager is handling the API URL correctly.

查看更多
登录 后发表回答