auslib.web

auslib.web.base

auslib.web.base.apply_security_headers(response)
auslib.web.base.contributejson()
auslib.web.base.fourohfour(error)

We don’t return 404s in AUS. Instead, we return empty XML files

auslib.web.base.generic(error)

Deals with any unhandled exceptions. If the exception is not a BadDataError, it will be sent to Sentry, and a 400 will be returned, because BadDataErrors are considered to be the client’s fault. Otherwise, the error is just re-raised (which causes a 500).

auslib.web.base.heartbeat_database_function(dbo)
auslib.web.base.robots()
auslib.web.base.unsubstituted_url_variables()