Linked Data Platform notes, ontologies, and resources.
Contents
- http://lists.w3.org/Archives/Public/public-ldp-wg/2013May/0234.html
- http://lists.w3.org/Archives/Public/public-ldp/2013Jun/thread.html#msg6
- https://github.com/westurner/ldpnotes/blob/master/http-problem.ttl
- Client makes HTTP request
- HTTP request is routed, balanced, and proxied
- HTTP request received by application
- Application routes URL to an application function
- Application function executes logic across system
- System presents complex errors and exceptions
- Application catches errors and exceptions
- Application returns HTTP Response with Status Code and Body
- Client sees "fail whale", wants to know more
- Devops and sysops point to CWE-200 and CWE-209 (... 200-215, 550)
- At any step in the interaction, Errors or Exceptions may be encountered.
- Errors and Exceptions are propagated up the stack
- Exceptions should contain enough information to diagnose the problem
- Most Proxies, balancers, etc. understand HTTP (some HTML)
- Why would I need to look up the List of HTTP status codes?
- HTTP 2?? status codes are not errors or exceptions.
- What to do when status_code != 200 OK
- What to do when (status_code not in range(200,300))
A WebApplication SoftwareApplication returns a WebPage
(which could be a CollectionPage, a SearchResultsPage, a ...)
potentially containing error message metadata.
Beyond that, there is currently no notion of HTTP or an Error message in schema.org. http://www.w3.org/wiki/WebSchemas/SchemaDotOrgProposals
It would be convenient if http:httpStatusCode etc had an rdfs:domain
of rdfs:Resource and/or prob:Problem and/or prob:ProblemType
were just http:Responses.
- http://schema.rdfs.org/all.ttl (CCSA)
- https://tools.ietf.org/html/draft-nottingham-http-problem-04
- http://www.w3.org/TR/HTTP-in-RDF/
- http://www.w3.org/2011/http-statusCodes#
- http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
- https://en.wikipedia.org/wiki/List_of_HTTP_status_codes
- http://answers.semanticweb.com/questions/2817/syntax-highlighting-for-turtle
- http://stackoverflow.com/questions/3669407/convert-xsd-to-rdf-schema