Skip to content

Commit 2c3cd7f

Browse files
Turbo87jtgeibel
andauthored
Sort headers of http-data files (#5041)
The files were regenerated with `RECORD=force cargo test` and manually reviewed. Co-authored-by: Justin Geibel <[email protected]>
1 parent 564eee1 commit 2c3cd7f

33 files changed

+495
-428
lines changed

src/tests/http-data/krate_publish_features_version_2

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
"accept",
99
"*/*"
1010
],
11-
[
12-
"content-length",
13-
"35"
14-
],
1511
[
1612
"accept-encoding",
1713
"gzip"
1814
],
15+
[
16+
"content-length",
17+
"35"
18+
],
1919
[
2020
"content-type",
2121
"application/gzip"
@@ -34,22 +34,23 @@
3434
"uri": "http://alexcrichton-test.s3.amazonaws.com/3/f/foo",
3535
"method": "PUT",
3636
"headers": [
37-
[
38-
"accept-encoding",
39-
"gzip"
40-
],
4137
[
4238
"accept",
4339
"*/*"
4440
],
41+
[
42+
"accept-encoding",
43+
"gzip"
44+
],
4545
[
4646
"content-length",
4747
"336"
4848
],
4949
[
5050
"content-type",
5151
"text/plain"
52-
] ],
52+
]
53+
],
5354
"body": "eyJuYW1lIjoiZm9vIiwidmVycyI6IjEuMC4wIiwiZGVwcyI6W3sibmFtZSI6ImJhciIsInJlcSI6Ij4gMCIsImZlYXR1cmVzIjpbXSwib3B0aW9uYWwiOmZhbHNlLCJkZWZhdWx0X2ZlYXR1cmVzIjp0cnVlLCJ0YXJnZXQiOm51bGwsImtpbmQiOiJub3JtYWwifV0sImNrc3VtIjoiYWNiNTYwNGIxMjZhYzg5NGMxZWIxMWM0NTc1YmYyMDcyZmVhNjEyMzJhODg4ZTQ1Mzc3MGM3OWQ3ZWQ1NjQxOSIsImZlYXR1cmVzIjp7Im9sZF9mZWF0IjpbXX0sImZlYXR1cmVzMiI6eyJuZXdfZmVhdCI6WyJkZXA6YmFyIiwiYmFyPy9mZWF0Il19LCJ5YW5rZWQiOmZhbHNlLCJsaW5rcyI6bnVsbCwidiI6Mn0K"
5455
},
5556
"response": {

src/tests/http-data/krate_publish_good_badges

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@
88
"accept",
99
"*/*"
1010
],
11+
[
12+
"accept-encoding",
13+
"gzip"
14+
],
1115
[
1216
"content-length",
1317
"35"
1418
],
1519
[
1620
"content-type",
1721
"application/gzip"
18-
],
19-
[
20-
"accept-encoding",
21-
"gzip"
2222
]
2323
],
2424
"body": "H4sIAAAAAAAA/+3AAQEAAACCIP+vbkhQwKsBLq+17wAEAAA="
@@ -34,22 +34,23 @@
3434
"uri": "http://alexcrichton-test.s3.amazonaws.com/fo/ob/foobadger",
3535
"method": "PUT",
3636
"headers": [
37-
[
38-
"accept-encoding",
39-
"gzip"
40-
],
4137
[
4238
"accept",
4339
"*/*"
4440
],
41+
[
42+
"accept-encoding",
43+
"gzip"
44+
],
4545
[
4646
"content-length",
4747
"163"
4848
],
4949
[
5050
"content-type",
5151
"text/plain"
52-
] ],
52+
]
53+
],
5354
"body": "eyJuYW1lIjoiZm9vYmFkZ2VyIiwidmVycyI6IjEuMC4wIiwiZGVwcyI6W10sImNrc3VtIjoiYWNiNTYwNGIxMjZhYzg5NGMxZWIxMWM0NTc1YmYyMDcyZmVhNjEyMzJhODg4ZTQ1Mzc3MGM3OWQ3ZWQ1NjQxOSIsImZlYXR1cmVzIjp7fSwieWFua2VkIjpmYWxzZSwibGlua3MiOm51bGx9Cg=="
5455
},
5556
"response": {

src/tests/http-data/krate_publish_good_categories

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@
55
"method": "PUT",
66
"headers": [
77
[
8-
"accept-encoding",
9-
"gzip"
8+
"accept",
9+
"*/*"
1010
],
1111
[
12-
"content-type",
13-
"application/gzip"
12+
"accept-encoding",
13+
"gzip"
1414
],
1515
[
1616
"content-length",
1717
"35"
1818
],
1919
[
20-
"accept",
21-
"*/*"
20+
"content-type",
21+
"application/gzip"
2222
]
2323
],
2424
"body": "H4sIAAAAAAAA/+3AAQEAAACCIP+vbkhQwKsBLq+17wAEAAA="
@@ -34,22 +34,23 @@
3434
"uri": "http://alexcrichton-test.s3.amazonaws.com/fo/o_/foo_good_cat",
3535
"method": "PUT",
3636
"headers": [
37-
[
38-
"accept-encoding",
39-
"gzip"
40-
],
4137
[
4238
"accept",
4339
"*/*"
4440
],
41+
[
42+
"accept-encoding",
43+
"gzip"
44+
],
4545
[
4646
"content-length",
4747
"166"
4848
],
4949
[
5050
"content-type",
5151
"text/plain"
52-
] ],
52+
]
53+
],
5354
"body": "eyJuYW1lIjoiZm9vX2dvb2RfY2F0IiwidmVycyI6IjEuMC4wIiwiZGVwcyI6W10sImNrc3VtIjoiYWNiNTYwNGIxMjZhYzg5NGMxZWIxMWM0NTc1YmYyMDcyZmVhNjEyMzJhODg4ZTQ1Mzc3MGM3OWQ3ZWQ1NjQxOSIsImZlYXR1cmVzIjp7fSwieWFua2VkIjpmYWxzZSwibGlua3MiOm51bGx9Cg=="
5455
},
5556
"response": {

src/tests/http-data/krate_publish_ignored_badges

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
"accept",
99
"*/*"
1010
],
11-
[
12-
"content-length",
13-
"35"
14-
],
1511
[
1612
"accept-encoding",
1713
"gzip"
1814
],
15+
[
16+
"content-length",
17+
"35"
18+
],
1919
[
2020
"content-type",
2121
"application/gzip"
@@ -34,22 +34,23 @@
3434
"uri": "http://alexcrichton-test.s3.amazonaws.com/fo/o_/foo_ignored_badge",
3535
"method": "PUT",
3636
"headers": [
37-
[
38-
"accept-encoding",
39-
"gzip"
40-
],
4137
[
4238
"accept",
4339
"*/*"
4440
],
41+
[
42+
"accept-encoding",
43+
"gzip"
44+
],
4545
[
4646
"content-length",
4747
"171"
4848
],
4949
[
5050
"content-type",
5151
"text/plain"
52-
] ],
52+
]
53+
],
5354
"body": "eyJuYW1lIjoiZm9vX2lnbm9yZWRfYmFkZ2UiLCJ2ZXJzIjoiMS4wLjAiLCJkZXBzIjpbXSwiY2tzdW0iOiJhY2I1NjA0YjEyNmFjODk0YzFlYjExYzQ1NzViZjIwNzJmZWE2MTIzMmE4ODhlNDUzNzcwYzc5ZDdlZDU2NDE5IiwiZmVhdHVyZXMiOnt9LCJ5YW5rZWQiOmZhbHNlLCJsaW5rcyI6bnVsbH0K"
5455
},
5556
"response": {

src/tests/http-data/krate_publish_ignored_categories

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@
55
"method": "PUT",
66
"headers": [
77
[
8-
"content-length",
9-
"35"
8+
"accept",
9+
"*/*"
1010
],
1111
[
1212
"accept-encoding",
1313
"gzip"
1414
],
1515
[
16-
"content-type",
17-
"application/gzip"
16+
"content-length",
17+
"35"
1818
],
1919
[
20-
"accept",
21-
"*/*"
20+
"content-type",
21+
"application/gzip"
2222
]
2323
],
2424
"body": "H4sIAAAAAAAA/+3AAQEAAACCIP+vbkhQwKsBLq+17wAEAAA="
@@ -34,22 +34,23 @@
3434
"uri": "http://alexcrichton-test.s3.amazonaws.com/fo/o_/foo_ignored_cat",
3535
"method": "PUT",
3636
"headers": [
37-
[
38-
"accept-encoding",
39-
"gzip"
40-
],
4137
[
4238
"accept",
4339
"*/*"
4440
],
41+
[
42+
"accept-encoding",
43+
"gzip"
44+
],
4545
[
4646
"content-length",
4747
"169"
4848
],
4949
[
5050
"content-type",
5151
"text/plain"
52-
] ],
52+
]
53+
],
5354
"body": "eyJuYW1lIjoiZm9vX2lnbm9yZWRfY2F0IiwidmVycyI6IjEuMC4wIiwiZGVwcyI6W10sImNrc3VtIjoiYWNiNTYwNGIxMjZhYzg5NGMxZWIxMWM0NTc1YmYyMDcyZmVhNjEyMzJhODg4ZTQ1Mzc3MGM3OWQ3ZWQ1NjQxOSIsImZlYXR1cmVzIjp7fSwieWFua2VkIjpmYWxzZSwibGlua3MiOm51bGx9Cg=="
5455
},
5556
"response": {

src/tests/http-data/krate_publish_new_crate_allow_empty_alternative_registry_dependency

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
"accept",
99
"*/*"
1010
],
11-
[
12-
"content-length",
13-
"35"
14-
],
1511
[
1612
"accept-encoding",
1713
"gzip"
1814
],
15+
[
16+
"content-length",
17+
"35"
18+
],
1919
[
2020
"content-type",
2121
"application/gzip"
@@ -34,22 +34,23 @@
3434
"uri": "http://alexcrichton-test.s3.amazonaws.com/3/f/foo",
3535
"method": "PUT",
3636
"headers": [
37-
[
38-
"accept-encoding",
39-
"gzip"
40-
],
4137
[
4238
"accept",
4339
"*/*"
4440
],
41+
[
42+
"accept-encoding",
43+
"gzip"
44+
],
4545
[
4646
"content-length",
4747
"272"
4848
],
4949
[
5050
"content-type",
5151
"text/plain"
52-
] ],
52+
]
53+
],
5354
"body": "eyJuYW1lIjoiZm9vIiwidmVycyI6IjEuMC4wIiwiZGVwcyI6W3sibmFtZSI6ImZvby1kZXAiLCJyZXEiOiI+IDAiLCJmZWF0dXJlcyI6W10sIm9wdGlvbmFsIjpmYWxzZSwiZGVmYXVsdF9mZWF0dXJlcyI6dHJ1ZSwidGFyZ2V0IjpudWxsLCJraW5kIjoibm9ybWFsIn1dLCJja3N1bSI6ImFjYjU2MDRiMTI2YWM4OTRjMWViMTFjNDU3NWJmMjA3MmZlYTYxMjMyYTg4OGU0NTM3NzBjNzlkN2VkNTY0MTkiLCJmZWF0dXJlcyI6e30sInlhbmtlZCI6ZmFsc2UsImxpbmtzIjpudWxsfQo="
5455
},
5556
"response": {

src/tests/http-data/krate_publish_new_krate

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
"accept",
99
"*/*"
1010
],
11-
[
12-
"content-length",
13-
"35"
14-
],
1511
[
1612
"accept-encoding",
1713
"gzip"
1814
],
15+
[
16+
"content-length",
17+
"35"
18+
],
1919
[
2020
"content-type",
2121
"application/gzip"
@@ -34,22 +34,23 @@
3434
"uri": "http://alexcrichton-test.s3.amazonaws.com/fo/o_/foo_new",
3535
"method": "PUT",
3636
"headers": [
37-
[
38-
"accept-encoding",
39-
"gzip"
40-
],
4137
[
4238
"accept",
4339
"*/*"
4440
],
41+
[
42+
"accept-encoding",
43+
"gzip"
44+
],
4545
[
4646
"content-length",
4747
"161"
4848
],
4949
[
5050
"content-type",
5151
"text/plain"
52-
] ],
52+
]
53+
],
5354
"body": "eyJuYW1lIjoiZm9vX25ldyIsInZlcnMiOiIxLjAuMCIsImRlcHMiOltdLCJja3N1bSI6ImFjYjU2MDRiMTI2YWM4OTRjMWViMTFjNDU3NWJmMjA3MmZlYTYxMjMyYTg4OGU0NTM3NzBjNzlkN2VkNTY0MTkiLCJmZWF0dXJlcyI6e30sInlhbmtlZCI6ZmFsc2UsImxpbmtzIjpudWxsfQo="
5455
},
5556
"response": {

0 commit comments

Comments
 (0)