17.0k views
1 vote
Which of the following are true regarding URI design?

a) URIs should be case-sensitive
b) URIs should be human-readable
c) URIs should contain spaces
d) URIs should include special characters

1 Answer

4 votes

Final answer:

The correct statements regarding URI design are: URIs should not be case-sensitive; URIs should be human-readable; URIs should not contain spaces.

Step-by-step explanation:

The correct statements regarding URI design are:

  1. URIs should not be case-sensitive. This means that uppercase and lowercase letters are treated the same.
  2. URIs should be human-readable. They should be designed in a way that users can understand the purpose or content represented by the URI.
  3. URIs should not contain spaces. Spaces are not allowed in URIs and should be replaced with appropriate characters such as hyphens or underscores.

It is recommended to use alphanumeric characters (A-Z, a-z, 0-9), hyphens, and underscores in URIs. Special characters are allowed, but it is best practice to percent-encode them using the appropriate encoding scheme.

User Louis R
by
8.1k points