forked from rexray/rexray
-
Notifications
You must be signed in to change notification settings - Fork 0
/
types_http_headers.go
25 lines (20 loc) · 978 Bytes
/
types_http_headers.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package types
// All header names below follow the Golang canonical format for header keys.
// Please do not alter their casing to your liking or you will break stuff.
const (
// InstanceIDHeader is the HTTP header that contains an InstanceID.
InstanceIDHeader = "Libstorage-Instanceid"
// LocalDevicesHeader is the HTTP header that contains a local device pair.
LocalDevicesHeader = "Libstorage-Localdevices"
// TransactionHeader is the HTTP header that contains the transaction
// sent from the client.
TransactionHeader = "Libstorage-Tx"
// ServerNameHeader is the HTTP header that contains the randomly generated
// name the server creates for unique identification when the server starts
// for the first time. This header is provided with every response sent
// from the server.
ServerNameHeader = "Libstorage-Servername"
// AuthorizationHeader is the HTTP header that contains the Authorization
// information.
AuthorizationHeader = "Authorization"
)