Closed robstradling closed 5 years ago
I agree with @cpu here -- an HTTP response reflects the status of a resource, even if that status is a problem
OK. I've made that change.
@cpu Yeah, I'd noticed that and I'd considered switching the order for consistency. But then I thought perhaps it was wrong to be unnecessarily consistent, because that might be taken as implying that the order of the HTTP response headers matters (which it doesn't). I have no strong feelings though, so I'll switch them.
Section 7.1 says:
The "index" link relation is present on all resources other than the directory and indicates the URL of the directory.
This PR adds an example "index" link relation to the example server responses that return a resource but that didn't already have it.
I'm interpreting "is present on all resources" to not include responses that return a problem document. Is that right?