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>

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.



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)
Received on Friday, 26 March 2010 01:21:03 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:56:33 UTC