mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-15 19:17:02 +02:00
20 lines
423 B
Go
20 lines
423 B
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
//go:build !enterprise
|
|
|
|
package http
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/hashicorp/vault/internalshared/configutil"
|
|
"github.com/hashicorp/vault/vault"
|
|
)
|
|
|
|
//go:generate go run github.com/hashicorp/vault/tools/stubmaker
|
|
|
|
func adjustRequest(c *vault.Core, listener *configutil.Listener, r *http.Request) (*http.Request, int, error) {
|
|
return r, 0, nil
|
|
}
|