File: test_append_blob.test_append_block.yaml

package info (click to toggle)
python-azure-storage 20181109%2Bgit-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 76,472 kB
  • sloc: python: 28,724; makefile: 204; sh: 1
file content (188 lines) | stat: -rw-r--r-- 7,506 bytes parent folder | download
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
interactions:
- request:
    body: null
    headers:
      Connection: [keep-alive]
      Content-Length: ['0']
      User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.7.0; Darwin 18.2.0)]
      x-ms-blob-type: [AppendBlob]
      x-ms-client-request-id: [e9f5712c-e472-11e8-9ac5-acde48001122]
      x-ms-date: ['Fri, 09 Nov 2018 22:58:03 GMT']
      x-ms-version: ['2018-03-28']
    method: PUT
    uri: https://storagename.blob.core.windows.net/utcontainerf23c0dc5/blobf23c0dc5
  response:
    body: {string: ''}
    headers:
      Date: ['Fri, 09 Nov 2018 22:58:03 GMT']
      ETag: ['"0x8D64696CE3DF19A"']
      Last-Modified: ['Fri, 09 Nov 2018 22:58:03 GMT']
      Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
      Transfer-Encoding: [chunked]
      x-ms-request-id: [a0b509e4-201e-0039-6b7f-788f8f000000]
      x-ms-request-server-encrypted: ['true']
      x-ms-version: ['2018-03-28']
    status: {code: 201, message: Created}
- request:
    body: block 0
    headers:
      Connection: [keep-alive]
      Content-Length: ['7']
      User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.7.0; Darwin 18.2.0)]
      x-ms-client-request-id: [ea0ea39a-e472-11e8-9ac5-acde48001122]
      x-ms-date: ['Fri, 09 Nov 2018 22:58:03 GMT']
      x-ms-version: ['2018-03-28']
    method: PUT
    uri: https://storagename.blob.core.windows.net/utcontainerf23c0dc5/blobf23c0dc5?comp=appendblock
  response:
    body: {string: ''}
    headers:
      Content-MD5: [TjjhPkKeLS6Els52i6m9Bg==]
      Date: ['Fri, 09 Nov 2018 22:58:03 GMT']
      ETag: ['"0x8D64696CE44D0F9"']
      Last-Modified: ['Fri, 09 Nov 2018 22:58:03 GMT']
      Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
      Transfer-Encoding: [chunked]
      x-ms-blob-append-offset: ['0']
      x-ms-blob-committed-block-count: ['1']
      x-ms-request-id: [a0b509e9-201e-0039-6f7f-788f8f000000]
      x-ms-request-server-encrypted: ['true']
      x-ms-version: ['2018-03-28']
    status: {code: 201, message: Created}
- request:
    body: block 1
    headers:
      Connection: [keep-alive]
      Content-Length: ['7']
      User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.7.0; Darwin 18.2.0)]
      x-ms-client-request-id: [ea153278-e472-11e8-9ac5-acde48001122]
      x-ms-date: ['Fri, 09 Nov 2018 22:58:03 GMT']
      x-ms-version: ['2018-03-28']
    method: PUT
    uri: https://storagename.blob.core.windows.net/utcontainerf23c0dc5/blobf23c0dc5?comp=appendblock
  response:
    body: {string: ''}
    headers:
      Content-MD5: [ZOnmAD+J5F2p66g8NFSefA==]
      Date: ['Fri, 09 Nov 2018 22:58:03 GMT']
      ETag: ['"0x8D64696CE4AECDB"']
      Last-Modified: ['Fri, 09 Nov 2018 22:58:03 GMT']
      Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
      Transfer-Encoding: [chunked]
      x-ms-blob-append-offset: ['7']
      x-ms-blob-committed-block-count: ['2']
      x-ms-request-id: [a0b509fc-201e-0039-7f7f-788f8f000000]
      x-ms-request-server-encrypted: ['true']
      x-ms-version: ['2018-03-28']
    status: {code: 201, message: Created}
- request:
    body: block 2
    headers:
      Connection: [keep-alive]
      Content-Length: ['7']
      User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.7.0; Darwin 18.2.0)]
      x-ms-client-request-id: [ea1b90a0-e472-11e8-9ac5-acde48001122]
      x-ms-date: ['Fri, 09 Nov 2018 22:58:03 GMT']
      x-ms-version: ['2018-03-28']
    method: PUT
    uri: https://storagename.blob.core.windows.net/utcontainerf23c0dc5/blobf23c0dc5?comp=appendblock
  response:
    body: {string: ''}
    headers:
      Content-MD5: [giBgEwOK96+T6eqweyrlNg==]
      Date: ['Fri, 09 Nov 2018 22:58:03 GMT']
      ETag: ['"0x8D64696CE51570C"']
      Last-Modified: ['Fri, 09 Nov 2018 22:58:03 GMT']
      Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
      Transfer-Encoding: [chunked]
      x-ms-blob-append-offset: ['14']
      x-ms-blob-committed-block-count: ['3']
      x-ms-request-id: [a0b50a05-201e-0039-067f-788f8f000000]
      x-ms-request-server-encrypted: ['true']
      x-ms-version: ['2018-03-28']
    status: {code: 201, message: Created}
- request:
    body: block 3
    headers:
      Connection: [keep-alive]
      Content-Length: ['7']
      User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.7.0; Darwin 18.2.0)]
      x-ms-client-request-id: [ea21fa6c-e472-11e8-9ac5-acde48001122]
      x-ms-date: ['Fri, 09 Nov 2018 22:58:04 GMT']
      x-ms-version: ['2018-03-28']
    method: PUT
    uri: https://storagename.blob.core.windows.net/utcontainerf23c0dc5/blobf23c0dc5?comp=appendblock
  response:
    body: {string: ''}
    headers:
      Content-MD5: [FDhv5/Vy34Z9KKvEnjH2lQ==]
      Date: ['Fri, 09 Nov 2018 22:58:03 GMT']
      ETag: ['"0x8D64696CE580F33"']
      Last-Modified: ['Fri, 09 Nov 2018 22:58:04 GMT']
      Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
      Transfer-Encoding: [chunked]
      x-ms-blob-append-offset: ['21']
      x-ms-blob-committed-block-count: ['4']
      x-ms-request-id: [a0b50a11-201e-0039-117f-788f8f000000]
      x-ms-request-server-encrypted: ['true']
      x-ms-version: ['2018-03-28']
    status: {code: 201, message: Created}
- request:
    body: block 4
    headers:
      Connection: [keep-alive]
      Content-Length: ['7']
      User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.7.0; Darwin 18.2.0)]
      x-ms-client-request-id: [ea28a6fa-e472-11e8-9ac5-acde48001122]
      x-ms-date: ['Fri, 09 Nov 2018 22:58:04 GMT']
      x-ms-version: ['2018-03-28']
    method: PUT
    uri: https://storagename.blob.core.windows.net/utcontainerf23c0dc5/blobf23c0dc5?comp=appendblock
  response:
    body: {string: ''}
    headers:
      Content-MD5: [jkC3Z8KTocewrRQF+tkxeA==]
      Date: ['Fri, 09 Nov 2018 22:58:03 GMT']
      ETag: ['"0x8D64696CE5E794B"']
      Last-Modified: ['Fri, 09 Nov 2018 22:58:04 GMT']
      Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
      Transfer-Encoding: [chunked]
      x-ms-blob-append-offset: ['28']
      x-ms-blob-committed-block-count: ['5']
      x-ms-request-id: [a0b50a39-201e-0039-327f-788f8f000000]
      x-ms-request-server-encrypted: ['true']
      x-ms-version: ['2018-03-28']
    status: {code: 201, message: Created}
- request:
    body: null
    headers:
      Connection: [keep-alive]
      User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.7.0; Darwin 18.2.0)]
      x-ms-client-request-id: [ea2f485c-e472-11e8-9ac5-acde48001122]
      x-ms-date: ['Fri, 09 Nov 2018 22:58:04 GMT']
      x-ms-range: [bytes=0-33554431]
      x-ms-version: ['2018-03-28']
    method: GET
    uri: https://storagename.blob.core.windows.net/utcontainerf23c0dc5/blobf23c0dc5
  response:
    body: {string: block 0block 1block 2block 3block 4}
    headers:
      Accept-Ranges: [bytes]
      Content-Length: ['35']
      Content-Range: [bytes 0-34/35]
      Content-Type: [application/octet-stream]
      Date: ['Fri, 09 Nov 2018 22:58:03 GMT']
      ETag: ['"0x8D64696CE5E794B"']
      Last-Modified: ['Fri, 09 Nov 2018 22:58:04 GMT']
      Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
      Vary: [Origin]
      x-ms-blob-committed-block-count: ['5']
      x-ms-blob-type: [AppendBlob]
      x-ms-creation-time: ['Fri, 09 Nov 2018 22:58:03 GMT']
      x-ms-lease-state: [available]
      x-ms-lease-status: [unlocked]
      x-ms-request-id: [a0b50a58-201e-0039-4e7f-788f8f000000]
      x-ms-server-encrypted: ['true']
      x-ms-version: ['2018-03-28']
    status: {code: 206, message: Partial Content}
version: 1