1mod content_length;
2mod content_range;
3mod if_match_condition;
4mod if_modified_since;
5mod if_modified_since_condition;
6mod if_sequence_number;
7mod if_source_match_condition;
8mod if_source_modified_since_condition;
9mod lease;
10mod lease_break_period;
11mod lease_duration;
12mod max_item_count;
13mod max_results;
14mod metadata;
15mod next_marker;
16mod proposed_lease_id;
17mod range;
18mod sequence_number;
19mod source_lease_id;
20mod timeout;
2122pub use content_length::ContentLength;
23pub use content_range::ContentRange;
24pub use if_match_condition::IfMatchCondition;
25pub use if_modified_since::IfModifiedSince;
26pub use if_modified_since_condition::IfModifiedSinceCondition;
27pub use if_sequence_number::IfSequenceNumber;
28pub use if_source_match_condition::IfSourceMatchCondition;
29pub use if_source_modified_since_condition::IfSourceModifiedSinceCondition;
30pub use lease::LeaseId;
31pub use lease_break_period::LeaseBreakPeriod;
32pub use lease_duration::LeaseDuration;
33pub use max_item_count::MaxItemCount;
34pub use max_results::MaxResults;
35pub use metadata::Metadata;
36pub use next_marker::NextMarker;
37pub use proposed_lease_id::ProposedLeaseId;
38pub use range::Range;
39pub use sequence_number::SequenceNumber;
40pub use source_lease_id::SourceLeaseId;
41pub use timeout::Timeout;
4243request_header!(
44/// Advertises which content encoding the client is able to understand.
45 ///
46 /// The Accept-Encoding request HTTP header advertises which content
47 /// encoding, usually a compression algorithm, the client is able to
48 /// understand. Using content negotiation, the server selects one of the
49 /// proposals, uses it and informs the client of its choice with the
50 /// Content-Encoding response header.
51 ///
52 /// Even if both the client and the server supports the same compression
53 /// algorithms, the server may choose not to compress the body of a
54 /// response, if the identity value is also acceptable.
55AcceptEncoding,
56 ACCEPT_ENCODING,
57);
5859request_header!(
60/// The (friendly) version identifier for the client making the request
61ClientVersion,
62 CLIENT_VERSION
63);
6465request_header!(
66/// The Content Type indicates the media type of the request body
67ContentType,
68 CONTENT_TYPE,
69 (APPLICATION_JSON, "application/json")
70);
7172request_header!(
73/// Advertises which content types the client is able to understand.
74 ///
75 /// The Accept request HTTP header advertises which content types, expressed
76 /// as MIME types, the client is able to understand. Using content
77 /// negotiation, the server then selects one of the proposals, uses it and
78 /// informs the client of its choice with the Content-Type response header.
79 /// Browsers set adequate values for this header depending of the context
80 /// where the request is done: when fetching a CSS stylesheet a different
81 /// value is set for the request than when fetching an image, video or a
82 /// script.
83Accept,
84 ACCEPT
85);
8687request_header!(
88/// The (friendly) name of the user making the request
89User,
90 USER,
91);
9293request_header!(ActivityId, ACTIVITY_ID);
94request_header!(App, APP,);
95request_header!(ClientRequestId, CLIENT_REQUEST_ID);
96request_header!(ContentDisposition, CONTENT_DISPOSITION);
97request_header!(ContentEncoding, CONTENT_ENCODING);
98request_header!(ContentLanguage, CONTENT_LANGUAGE);
99request_header!(Continuation, CONTINUATION);
100request_header!(IfTags, IF_TAGS);
101request_header!(UserAgent, USER_AGENT);
102request_header!(Version, VERSION);
103104request_query!(
105/// Set delimiter for the request
106Delimiter,
107"delimiter"
108);
109request_query!(Prefix, "prefix");