Roy T. Fielding

Results 17 comments of Roy T. Fielding

How about replacing he.encode(String(html), {useNamedReferences: false}) with the following as escXML(String(html))? ``` var XML_REMAP = { '': '>', '&': '&', '"': '"', "'": ''', "\u0000": "^nul", "\u0001": "^soh", "\u0002": "^stx",...

It would be nice to have an option (default off) that would exclude the characters not allowed in XML even as an entity reference. These characters cause XML validation to...

The spec isn't ambiguous, aside from the fact that all content negotiation is optional. If the matching algorithm is implemented, then most-specific match wins. It is assumed that a server...

Sorry I missed the clarifying question from @ethanresnick Yes, the parameters are intended to narrow the media type (they are not supposed to define distinct types), hence the HTTP algorithm...

A user agent is expected to understand the semantics of any method it chooses to use, even if it is acting on downloaded instructions (e.g., javascript).

The person programming the library has to know and incorporate that into the code or calling parameters that implement a request and process the response. IOW, they deliberately choose to...

In the hypertext content. They used to be in the URI or Alternates header fields as well, but now just the content. Location only contains the preferred reference.

Because we don't need multiple locations for a temporary redirect?

Think of it this way: 301 was originally designed for authoring tools (TimBL's editor), not web browsers. The content of a 301 response might be a very lengthy explanation of...

Look at the example for range-set: - The first, middle, and last 1000 bytes: bytes= 0-999, 4500-5499, -1000 That's why it has been implemented differently. The ABNF does not allow...