mirror of
https://github.com/pikami/cosmium.git
synced 2026-06-12 15:27:06 +01:00
31 lines
1.2 KiB
Go
31 lines
1.2 KiB
Go
package headers
|
|
|
|
const (
|
|
AIM = "A-Im"
|
|
Authorization = "authorization"
|
|
CosmosLsn = "x-ms-cosmos-llsn"
|
|
ErrorCode = "x-ms-error-code"
|
|
ETag = "etag"
|
|
GlobalCommittedLsn = "x-ms-global-committed-lsn"
|
|
IfMatch = "if-match"
|
|
IfNoneMatch = "if-none-match"
|
|
IsBatchRequest = "x-ms-cosmos-is-batch-request"
|
|
IsQueryPlanRequest = "x-ms-cosmos-is-query-plan-request"
|
|
IsUpsert = "x-ms-documentdb-is-upsert"
|
|
ItemCount = "x-ms-item-count"
|
|
LSN = "lsn"
|
|
XDate = "x-ms-date"
|
|
MaxItemCount = "x-ms-max-item-count"
|
|
ContinuationToken = "x-ms-continuation"
|
|
|
|
// Kinda retarded, but what can I do ¯\_(ツ)_/¯
|
|
IsQuery = "x-ms-documentdb-isquery" // Sent from python sdk and web explorer
|
|
Query = "x-ms-documentdb-query" // Sent from Go sdk
|
|
|
|
// I kinda don't use these, but I've seen them in the wild xd
|
|
SupportedCapabilities = "x-ms-cosmos-sdk-supportedcapabilities"
|
|
ClientRetryAttemptCount = "x-ms-client-retry-attempt-count"
|
|
RemainingTimeInMsOnClient = "x-ms-remaining-time-in-ms-on-client"
|
|
ConsistencyLevel = "x-ms-consistency-level"
|
|
)
|