code: func GetRequest(ctx context.Context) (*http.Request, error) {
  	if r, ok := ctx.Value("http.request").(*http.Request); r != nil && ok {
  		return r, nil
  	}
  	return nil, ErrNoRequestContext
  }
docs: // GetRequest returns the http request in the given context. Returns
  // ErrNoRequestContext if the context does not have an http request associated
  // with it.