W3C home > Mailing lists > Public > www-tag@w3.org > March 2010

testing 203 Non-Authoritative support: so far, so good

From: Dan Connolly <connolly@w3.org>
Date: Thu, 25 Mar 2010 21:21:02 -0400
Message-ID: <4BAC0BFE.9030909@w3.org>
To: Jonathan Rees <jar@creativecommons.org>, "www-tag@w3.org" <www-tag@w3.org>
Jonathan,

Today we were talking about transcoding proxies or some such and the subject
of 203 "not authoritative" responses came up and we didn't know whether
browsers freak out or treat them pretty much like 200. A quick test
shows firefox on this Mac treats them like a 200.
(python test server code is attached.)

By the way, the HTTP Spec(s) speak only of subset or superset of 
"returned metainformation", not content.

http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-09#section-8.2.4
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.2.4

-- 
Dan


def hello_world(environ, start_response):
    start_response('203 non-auth', [('Content-Type', 'text/html')])
    return ['''<title>203 Test...</title>
    <p>You like?</p>''']


if __name__ == '__main__':
    from wsgiref.simple_server import make_server
    srv = make_server('localhost', 8080, hello_world)
    srv.serve_forever()
Received on Friday, 26 March 2010 01:21:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:48:20 GMT