Can urls contain dots in the path part?

2019-01-25 01:37发布

问题:

Is this a valid URL? (from a standard point of view)

http://test.com/some/path/version/1.2/thing 

回答1:

Yes. This is common for versioning web service interfaces. See spec: http://www.w3.org/Addressing/URL/url-spec.txt



回答2:

Obviously it is possible. Here is an example

http://static.springsource.org/spring/docs/3.0.x/reference/beans.html.



标签: url