~juju-qa/ubuntu/xenial/juju/xenial-2.0-beta3

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/apiserver/httpcontext.go

  • Committer: Martin Packman
  • Date: 2016-03-30 19:31:08 UTC
  • mfrom: (1.1.41)
  • Revision ID: martin.packman@canonical.com-20160330193108-h9iz3ak334uk0z5r
Merge new upstream source 2.0~beta3

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
        srv *Server
31
31
}
32
32
 
33
 
type errorSender interface {
34
 
        sendError(w http.ResponseWriter, code int, err error)
35
 
}
36
 
 
37
 
var errUnauthorized = errors.NewUnauthorized(nil, "unauthorized")
38
 
 
39
33
// stateForRequestUnauthenticated returns a state instance appropriate for
40
34
// using for the model implicit in the given request
41
35
// without checking any authentication information.