escher 0.0.2 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (189) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +16 -0
  3. data/.travis.yml +4 -0
  4. data/Gemfile +2 -0
  5. data/LICENSE +21 -0
  6. data/README.md +8 -0
  7. data/Rakefile +11 -0
  8. data/escher.gemspec +26 -0
  9. data/lib/escher/version.rb +3 -0
  10. data/lib/escher.rb +254 -110
  11. data/spec/aws4_testsuite/get-header-key-duplicate.authz +1 -0
  12. data/spec/aws4_testsuite/get-header-key-duplicate.creq +9 -0
  13. data/spec/aws4_testsuite/get-header-key-duplicate.req +7 -0
  14. data/spec/aws4_testsuite/get-header-key-duplicate.sreq +8 -0
  15. data/spec/aws4_testsuite/get-header-key-duplicate.sts +4 -0
  16. data/spec/aws4_testsuite/get-header-value-multiline.req +7 -0
  17. data/spec/aws4_testsuite/get-header-value-order.authz +1 -0
  18. data/spec/aws4_testsuite/get-header-value-order.creq +9 -0
  19. data/spec/aws4_testsuite/get-header-value-order.req +8 -0
  20. data/spec/aws4_testsuite/get-header-value-order.sreq +9 -0
  21. data/spec/aws4_testsuite/get-header-value-order.sts +4 -0
  22. data/spec/aws4_testsuite/get-header-value-trim.authz +1 -0
  23. data/spec/aws4_testsuite/get-header-value-trim.creq +9 -0
  24. data/spec/aws4_testsuite/get-header-value-trim.req +5 -0
  25. data/spec/aws4_testsuite/get-header-value-trim.sreq +6 -0
  26. data/spec/aws4_testsuite/get-header-value-trim.sts +4 -0
  27. data/spec/aws4_testsuite/get-relative-relative.authz +1 -0
  28. data/spec/aws4_testsuite/get-relative-relative.creq +8 -0
  29. data/spec/aws4_testsuite/get-relative-relative.req +4 -0
  30. data/spec/aws4_testsuite/get-relative-relative.sreq +5 -0
  31. data/spec/aws4_testsuite/get-relative-relative.sts +4 -0
  32. data/spec/aws4_testsuite/get-relative.authz +1 -0
  33. data/spec/aws4_testsuite/get-relative.creq +8 -0
  34. data/spec/aws4_testsuite/get-relative.req +4 -0
  35. data/spec/aws4_testsuite/get-relative.sreq +5 -0
  36. data/spec/aws4_testsuite/get-relative.sts +4 -0
  37. data/spec/aws4_testsuite/get-slash-dot-slash.authz +1 -0
  38. data/spec/aws4_testsuite/get-slash-dot-slash.creq +8 -0
  39. data/spec/aws4_testsuite/get-slash-dot-slash.req +4 -0
  40. data/spec/aws4_testsuite/get-slash-dot-slash.sreq +5 -0
  41. data/spec/aws4_testsuite/get-slash-dot-slash.sts +4 -0
  42. data/spec/aws4_testsuite/get-slash-pointless-dot.authz +1 -0
  43. data/spec/aws4_testsuite/get-slash-pointless-dot.creq +8 -0
  44. data/spec/aws4_testsuite/get-slash-pointless-dot.req +4 -0
  45. data/spec/aws4_testsuite/get-slash-pointless-dot.sreq +5 -0
  46. data/spec/aws4_testsuite/get-slash-pointless-dot.sts +4 -0
  47. data/spec/aws4_testsuite/get-slash.authz +1 -0
  48. data/spec/aws4_testsuite/get-slash.creq +8 -0
  49. data/spec/aws4_testsuite/get-slash.req +4 -0
  50. data/spec/aws4_testsuite/get-slash.sreq +5 -0
  51. data/spec/aws4_testsuite/get-slash.sts +4 -0
  52. data/spec/aws4_testsuite/get-slashes.authz +1 -0
  53. data/spec/aws4_testsuite/get-slashes.creq +8 -0
  54. data/spec/aws4_testsuite/get-slashes.req +4 -0
  55. data/spec/aws4_testsuite/get-slashes.sreq +5 -0
  56. data/spec/aws4_testsuite/get-slashes.sts +4 -0
  57. data/spec/aws4_testsuite/get-space.authz +1 -0
  58. data/spec/aws4_testsuite/get-space.creq +8 -0
  59. data/spec/aws4_testsuite/get-space.req +4 -0
  60. data/spec/aws4_testsuite/get-space.sreq +5 -0
  61. data/spec/aws4_testsuite/get-space.sts +4 -0
  62. data/spec/aws4_testsuite/get-unreserved.authz +1 -0
  63. data/spec/aws4_testsuite/get-unreserved.creq +8 -0
  64. data/spec/aws4_testsuite/get-unreserved.req +4 -0
  65. data/spec/aws4_testsuite/get-unreserved.sreq +5 -0
  66. data/spec/aws4_testsuite/get-unreserved.sts +4 -0
  67. data/spec/aws4_testsuite/get-utf8.authz +1 -0
  68. data/spec/aws4_testsuite/get-utf8.creq +8 -0
  69. data/spec/aws4_testsuite/get-utf8.req +4 -0
  70. data/spec/aws4_testsuite/get-utf8.sreq +5 -0
  71. data/spec/aws4_testsuite/get-utf8.sts +4 -0
  72. data/spec/aws4_testsuite/get-vanilla-empty-query-key.authz +1 -0
  73. data/spec/aws4_testsuite/get-vanilla-empty-query-key.creq +8 -0
  74. data/spec/aws4_testsuite/get-vanilla-empty-query-key.req +4 -0
  75. data/spec/aws4_testsuite/get-vanilla-empty-query-key.sreq +5 -0
  76. data/spec/aws4_testsuite/get-vanilla-empty-query-key.sts +4 -0
  77. data/spec/aws4_testsuite/get-vanilla-query-order-key-case.authz +1 -0
  78. data/spec/aws4_testsuite/get-vanilla-query-order-key-case.creq +8 -0
  79. data/spec/aws4_testsuite/get-vanilla-query-order-key-case.req +4 -0
  80. data/spec/aws4_testsuite/get-vanilla-query-order-key-case.sreq +5 -0
  81. data/spec/aws4_testsuite/get-vanilla-query-order-key-case.sts +4 -0
  82. data/spec/aws4_testsuite/get-vanilla-query-order-key.authz +1 -0
  83. data/spec/aws4_testsuite/get-vanilla-query-order-key.creq +8 -0
  84. data/spec/aws4_testsuite/get-vanilla-query-order-key.req +4 -0
  85. data/spec/aws4_testsuite/get-vanilla-query-order-key.sreq +5 -0
  86. data/spec/aws4_testsuite/get-vanilla-query-order-key.sts +4 -0
  87. data/spec/aws4_testsuite/get-vanilla-query-order-value.authz +1 -0
  88. data/spec/aws4_testsuite/get-vanilla-query-order-value.creq +8 -0
  89. data/spec/aws4_testsuite/get-vanilla-query-order-value.req +4 -0
  90. data/spec/aws4_testsuite/get-vanilla-query-order-value.sreq +5 -0
  91. data/spec/aws4_testsuite/get-vanilla-query-order-value.sts +4 -0
  92. data/spec/aws4_testsuite/get-vanilla-query-unreserved.authz +1 -0
  93. data/spec/aws4_testsuite/get-vanilla-query-unreserved.creq +8 -0
  94. data/spec/aws4_testsuite/get-vanilla-query-unreserved.req +4 -0
  95. data/spec/aws4_testsuite/get-vanilla-query-unreserved.sreq +5 -0
  96. data/spec/aws4_testsuite/get-vanilla-query-unreserved.sts +4 -0
  97. data/spec/aws4_testsuite/get-vanilla-query.authz +1 -0
  98. data/spec/aws4_testsuite/get-vanilla-query.creq +8 -0
  99. data/spec/aws4_testsuite/get-vanilla-query.req +4 -0
  100. data/spec/aws4_testsuite/get-vanilla-query.sreq +5 -0
  101. data/spec/aws4_testsuite/get-vanilla-query.sts +4 -0
  102. data/spec/aws4_testsuite/get-vanilla-ut8-query.authz +1 -0
  103. data/spec/aws4_testsuite/get-vanilla-ut8-query.creq +8 -0
  104. data/spec/aws4_testsuite/get-vanilla-ut8-query.req +4 -0
  105. data/spec/aws4_testsuite/get-vanilla-ut8-query.sreq +5 -0
  106. data/spec/aws4_testsuite/get-vanilla-ut8-query.sts +4 -0
  107. data/spec/aws4_testsuite/get-vanilla.authz +1 -0
  108. data/spec/aws4_testsuite/get-vanilla.creq +8 -0
  109. data/spec/aws4_testsuite/get-vanilla.req +4 -0
  110. data/spec/aws4_testsuite/get-vanilla.sreq +5 -0
  111. data/spec/aws4_testsuite/get-vanilla.sts +4 -0
  112. data/spec/aws4_testsuite/post-header-key-case.authz +1 -0
  113. data/spec/aws4_testsuite/post-header-key-case.creq +8 -0
  114. data/spec/aws4_testsuite/post-header-key-case.req +4 -0
  115. data/spec/aws4_testsuite/post-header-key-case.sreq +5 -0
  116. data/spec/aws4_testsuite/post-header-key-case.sts +4 -0
  117. data/spec/aws4_testsuite/post-header-key-sort.authz +1 -0
  118. data/spec/aws4_testsuite/post-header-key-sort.creq +9 -0
  119. data/spec/aws4_testsuite/post-header-key-sort.req +5 -0
  120. data/spec/aws4_testsuite/post-header-key-sort.sreq +6 -0
  121. data/spec/aws4_testsuite/post-header-key-sort.sts +4 -0
  122. data/spec/aws4_testsuite/post-header-value-case.authz +1 -0
  123. data/spec/aws4_testsuite/post-header-value-case.creq +9 -0
  124. data/spec/aws4_testsuite/post-header-value-case.req +5 -0
  125. data/spec/aws4_testsuite/post-header-value-case.sreq +6 -0
  126. data/spec/aws4_testsuite/post-header-value-case.sts +4 -0
  127. data/spec/aws4_testsuite/post-vanilla-empty-query-value.authz +1 -0
  128. data/spec/aws4_testsuite/post-vanilla-empty-query-value.creq +8 -0
  129. data/spec/aws4_testsuite/post-vanilla-empty-query-value.req +4 -0
  130. data/spec/aws4_testsuite/post-vanilla-empty-query-value.sreq +5 -0
  131. data/spec/aws4_testsuite/post-vanilla-empty-query-value.sts +4 -0
  132. data/spec/aws4_testsuite/post-vanilla-query-nonunreserved.authz +1 -0
  133. data/spec/aws4_testsuite/post-vanilla-query-nonunreserved.creq +8 -0
  134. data/spec/aws4_testsuite/post-vanilla-query-nonunreserved.req +4 -0
  135. data/spec/aws4_testsuite/post-vanilla-query-nonunreserved.sreq +5 -0
  136. data/spec/aws4_testsuite/post-vanilla-query-nonunreserved.sts +4 -0
  137. data/spec/aws4_testsuite/post-vanilla-query-space.authz +1 -0
  138. data/spec/aws4_testsuite/post-vanilla-query-space.creq +8 -0
  139. data/spec/aws4_testsuite/post-vanilla-query-space.req +4 -0
  140. data/spec/aws4_testsuite/post-vanilla-query-space.sreq +5 -0
  141. data/spec/aws4_testsuite/post-vanilla-query-space.sts +4 -0
  142. data/spec/aws4_testsuite/post-vanilla-query.authz +1 -0
  143. data/spec/aws4_testsuite/post-vanilla-query.creq +8 -0
  144. data/spec/aws4_testsuite/post-vanilla-query.req +4 -0
  145. data/spec/aws4_testsuite/post-vanilla-query.sreq +5 -0
  146. data/spec/aws4_testsuite/post-vanilla-query.sts +4 -0
  147. data/spec/aws4_testsuite/post-vanilla.authz +1 -0
  148. data/spec/aws4_testsuite/post-vanilla.creq +8 -0
  149. data/spec/aws4_testsuite/post-vanilla.req +4 -0
  150. data/spec/aws4_testsuite/post-vanilla.sreq +5 -0
  151. data/spec/aws4_testsuite/post-vanilla.sts +4 -0
  152. data/spec/aws4_testsuite/post-x-www-form-urlencoded-parameters.authz +1 -0
  153. data/spec/aws4_testsuite/post-x-www-form-urlencoded-parameters.creq +9 -0
  154. data/spec/aws4_testsuite/post-x-www-form-urlencoded-parameters.req +6 -0
  155. data/spec/aws4_testsuite/post-x-www-form-urlencoded-parameters.sreq +7 -0
  156. data/spec/aws4_testsuite/post-x-www-form-urlencoded-parameters.sts +4 -0
  157. data/spec/aws4_testsuite/post-x-www-form-urlencoded.authz +1 -0
  158. data/spec/aws4_testsuite/post-x-www-form-urlencoded.creq +9 -0
  159. data/spec/aws4_testsuite/post-x-www-form-urlencoded.req +6 -0
  160. data/spec/aws4_testsuite/post-x-www-form-urlencoded.sreq +7 -0
  161. data/spec/aws4_testsuite/post-x-www-form-urlencoded.sts +4 -0
  162. data/spec/emarsys_testsuite/get-header-key-duplicate.authz +1 -0
  163. data/spec/emarsys_testsuite/get-header-key-duplicate.creq +9 -0
  164. data/spec/emarsys_testsuite/get-header-key-duplicate.req +7 -0
  165. data/spec/emarsys_testsuite/get-header-key-duplicate.sreq +8 -0
  166. data/spec/emarsys_testsuite/get-header-key-duplicate.sts +4 -0
  167. data/spec/emarsys_testsuite/get-header-value-order.authz +1 -0
  168. data/spec/emarsys_testsuite/get-header-value-order.creq +9 -0
  169. data/spec/emarsys_testsuite/get-header-value-order.req +8 -0
  170. data/spec/emarsys_testsuite/get-header-value-order.sreq +9 -0
  171. data/spec/emarsys_testsuite/get-header-value-order.sts +4 -0
  172. data/spec/emarsys_testsuite/post-header-key-order.authz +1 -0
  173. data/spec/emarsys_testsuite/post-header-key-order.creq +9 -0
  174. data/spec/emarsys_testsuite/post-header-key-order.req +6 -0
  175. data/spec/emarsys_testsuite/post-header-key-order.sreq +7 -0
  176. data/spec/emarsys_testsuite/post-header-key-order.sts +4 -0
  177. data/spec/emarsys_testsuite/post-header-value-spaces-within-quotes.authz +1 -0
  178. data/spec/emarsys_testsuite/post-header-value-spaces-within-quotes.creq +9 -0
  179. data/spec/emarsys_testsuite/post-header-value-spaces-within-quotes.req +5 -0
  180. data/spec/emarsys_testsuite/post-header-value-spaces-within-quotes.sreq +6 -0
  181. data/spec/emarsys_testsuite/post-header-value-spaces-within-quotes.sts +4 -0
  182. data/spec/emarsys_testsuite/post-header-value-spaces.authz +1 -0
  183. data/spec/emarsys_testsuite/post-header-value-spaces.creq +9 -0
  184. data/spec/emarsys_testsuite/post-header-value-spaces.req +6 -0
  185. data/spec/emarsys_testsuite/post-header-value-spaces.sreq +7 -0
  186. data/spec/emarsys_testsuite/post-header-value-spaces.sts +4 -0
  187. data/spec/escher_spec.rb +306 -0
  188. data/spec/spec_helper.rb +1 -0
  189. metadata +402 -31
@@ -0,0 +1,9 @@
1
+ POST
2
+ /
3
+
4
+ date:Mon, 09 Sep 2011 23:36:00 GMT
5
+ host:host.foo.com
6
+ zoo:zoobar
7
+
8
+ date;host;zoo
9
+ e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
@@ -0,0 +1,5 @@
1
+ POST / http/1.1
2
+ DATE:Mon, 09 Sep 2011 23:36:00 GMT
3
+ host:host.foo.com
4
+ ZOO:zoobar
5
+
@@ -0,0 +1,6 @@
1
+ POST / http/1.1
2
+ DATE:Mon, 09 Sep 2011 23:36:00 GMT
3
+ host:host.foo.com
4
+ ZOO:zoobar
5
+ Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host;zoo, Signature=b7a95a52518abbca0964a999a880429ab734f35ebbf1235bd79a5de87756dc4a
6
+
@@ -0,0 +1,4 @@
1
+ AWS4-HMAC-SHA256
2
+ 20110909T233600Z
3
+ 20110909/us-east-1/host/aws4_request
4
+ 34e1bddeb99e76ee01d63b5e28656111e210529efeec6cdfd46a48e4c734545d
@@ -0,0 +1 @@
1
+ AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host;zoo, Signature=273313af9d0c265c531e11db70bbd653f3ba074c1009239e8559d3987039cad7
@@ -0,0 +1,9 @@
1
+ POST
2
+ /
3
+
4
+ date:Mon, 09 Sep 2011 23:36:00 GMT
5
+ host:host.foo.com
6
+ zoo:ZOOBAR
7
+
8
+ date;host;zoo
9
+ e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
@@ -0,0 +1,5 @@
1
+ POST / http/1.1
2
+ DATE:Mon, 09 Sep 2011 23:36:00 GMT
3
+ host:host.foo.com
4
+ zoo:ZOOBAR
5
+
@@ -0,0 +1,6 @@
1
+ POST / http/1.1
2
+ DATE:Mon, 09 Sep 2011 23:36:00 GMT
3
+ host:host.foo.com
4
+ zoo:ZOOBAR
5
+ Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host;zoo, Signature=273313af9d0c265c531e11db70bbd653f3ba074c1009239e8559d3987039cad7
6
+
@@ -0,0 +1,4 @@
1
+ AWS4-HMAC-SHA256
2
+ 20110909T233600Z
3
+ 20110909/us-east-1/host/aws4_request
4
+ 3aae6d8274b8c03e2cc96fc7d6bda4b9bd7a0a184309344470b2c96953e124aa
@@ -0,0 +1 @@
1
+ AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=b6e3b79003ce0743a491606ba1035a804593b0efb1e20a11cba83f8c25a57a92
@@ -0,0 +1,8 @@
1
+ POST
2
+ /
3
+ foo=bar
4
+ date:Mon, 09 Sep 2011 23:36:00 GMT
5
+ host:host.foo.com
6
+
7
+ date;host
8
+ e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
@@ -0,0 +1,4 @@
1
+ POST /?foo=bar http/1.1
2
+ Date:Mon, 09 Sep 2011 23:36:00 GMT
3
+ Host:host.foo.com
4
+
@@ -0,0 +1,5 @@
1
+ POST /?foo=bar http/1.1
2
+ Date:Mon, 09 Sep 2011 23:36:00 GMT
3
+ Host:host.foo.com
4
+ Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=b6e3b79003ce0743a491606ba1035a804593b0efb1e20a11cba83f8c25a57a92
5
+
@@ -0,0 +1,4 @@
1
+ AWS4-HMAC-SHA256
2
+ 20110909T233600Z
3
+ 20110909/us-east-1/host/aws4_request
4
+ cd4f39132d8e60bb388831d734230460872b564871c47f5de62e62d1a68dbe1e
@@ -0,0 +1 @@
1
+ AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=28675d93ac1d686ab9988d6617661da4dffe7ba848a2285cb75eac6512e861f9
@@ -0,0 +1,8 @@
1
+ POST
2
+ /
3
+ %20=%2F%2C%3F%3E%3C%60%22%3B%3A%5C%7C%5D%5B%7B%7D&%40%23%24%25%5E=
4
+ date:Mon, 09 Sep 2011 23:36:00 GMT
5
+ host:host.foo.com
6
+
7
+ date;host
8
+ e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
@@ -0,0 +1,4 @@
1
+ POST /?@#$%^&+=/,?><`";:\|][{} =@#$%^&+=/,?><`";:\|][{} http/1.1
2
+ Date:Mon, 09 Sep 2011 23:36:00 GMT
3
+ Host:host.foo.com
4
+
@@ -0,0 +1,5 @@
1
+ POST /?@#$%^&+=/,?><`";:\|][{} =@#$%^&+=/,?><`";:\|][{} http/1.1
2
+ Date:Mon, 09 Sep 2011 23:36:00 GMT
3
+ Host:host.foo.com
4
+ Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=28675d93ac1d686ab9988d6617661da4dffe7ba848a2285cb75eac6512e861f9
5
+
@@ -0,0 +1,4 @@
1
+ AWS4-HMAC-SHA256
2
+ 20110909T233600Z
3
+ 20110909/us-east-1/host/aws4_request
4
+ eb3f16b23b20c91e1b5d6f3cd1c1f8c32a6ddcae6024e44bcfa980fbf8561f6c
@@ -0,0 +1 @@
1
+ AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=b7eb653abe5f846e7eee4d1dba33b15419dc424aaf215d49b1240732b10cc4ca
@@ -0,0 +1,8 @@
1
+ POST
2
+ /
3
+ f=
4
+ date:Mon, 09 Sep 2011 23:36:00 GMT
5
+ host:host.foo.com
6
+
7
+ date;host
8
+ e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
@@ -0,0 +1,4 @@
1
+ POST /?f oo=b ar http/1.1
2
+ Date:Mon, 09 Sep 2011 23:36:00 GMT
3
+ Host:host.foo.com
4
+
@@ -0,0 +1,5 @@
1
+ POST /?f oo=b ar http/1.1
2
+ Date:Mon, 09 Sep 2011 23:36:00 GMT
3
+ Host:host.foo.com
4
+ Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=b7eb653abe5f846e7eee4d1dba33b15419dc424aaf215d49b1240732b10cc4ca
5
+
@@ -0,0 +1,4 @@
1
+ AWS4-HMAC-SHA256
2
+ 20110909T233600Z
3
+ 20110909/us-east-1/host/aws4_request
4
+ 0d5f8ed88e9cd0a2a093e1719fff945e3718d30a6b240b9de994cdf9442c89f5
@@ -0,0 +1 @@
1
+ AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=b6e3b79003ce0743a491606ba1035a804593b0efb1e20a11cba83f8c25a57a92
@@ -0,0 +1,8 @@
1
+ POST
2
+ /
3
+ foo=bar
4
+ date:Mon, 09 Sep 2011 23:36:00 GMT
5
+ host:host.foo.com
6
+
7
+ date;host
8
+ e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
@@ -0,0 +1,4 @@
1
+ POST /?foo=bar http/1.1
2
+ Date:Mon, 09 Sep 2011 23:36:00 GMT
3
+ Host:host.foo.com
4
+
@@ -0,0 +1,5 @@
1
+ POST /?foo=bar http/1.1
2
+ Date:Mon, 09 Sep 2011 23:36:00 GMT
3
+ Host:host.foo.com
4
+ Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=b6e3b79003ce0743a491606ba1035a804593b0efb1e20a11cba83f8c25a57a92
5
+
@@ -0,0 +1,4 @@
1
+ AWS4-HMAC-SHA256
2
+ 20110909T233600Z
3
+ 20110909/us-east-1/host/aws4_request
4
+ cd4f39132d8e60bb388831d734230460872b564871c47f5de62e62d1a68dbe1e
@@ -0,0 +1 @@
1
+ AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=22902d79e148b64e7571c3565769328423fe276eae4b26f83afceda9e767f726
@@ -0,0 +1,8 @@
1
+ POST
2
+ /
3
+
4
+ date:Mon, 09 Sep 2011 23:36:00 GMT
5
+ host:host.foo.com
6
+
7
+ date;host
8
+ e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
@@ -0,0 +1,4 @@
1
+ POST / http/1.1
2
+ Date:Mon, 09 Sep 2011 23:36:00 GMT
3
+ Host:host.foo.com
4
+
@@ -0,0 +1,5 @@
1
+ POST / http/1.1
2
+ Date:Mon, 09 Sep 2011 23:36:00 GMT
3
+ Host:host.foo.com
4
+ Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=22902d79e148b64e7571c3565769328423fe276eae4b26f83afceda9e767f726
5
+
@@ -0,0 +1,4 @@
1
+ AWS4-HMAC-SHA256
2
+ 20110909T233600Z
3
+ 20110909/us-east-1/host/aws4_request
4
+ 05da62cee468d24ae84faff3c39f1b85540de60243c1bcaace39c0a2acc7b2c4
@@ -0,0 +1 @@
1
+ AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=content-type;date;host, Signature=b105eb10c6d318d2294de9d49dd8b031b55e3c3fe139f2e637da70511e9e7b71
@@ -0,0 +1,9 @@
1
+ POST
2
+ /
3
+
4
+ content-type:application/x-www-form-urlencoded; charset=utf8
5
+ date:Mon, 09 Sep 2011 23:36:00 GMT
6
+ host:host.foo.com
7
+
8
+ content-type;date;host
9
+ 3ba8907e7a252327488df390ed517c45b96dead033600219bdca7107d1d3f88a
@@ -0,0 +1,6 @@
1
+ POST / http/1.1
2
+ Content-Type:application/x-www-form-urlencoded; charset=utf8
3
+ Date:Mon, 09 Sep 2011 23:36:00 GMT
4
+ Host:host.foo.com
5
+
6
+ foo=bar
@@ -0,0 +1,7 @@
1
+ POST / http/1.1
2
+ Content-Type:application/x-www-form-urlencoded; charset=utf8
3
+ Date:Mon, 09 Sep 2011 23:36:00 GMT
4
+ Host:host.foo.com
5
+ Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=content-type;date;host, Signature=b105eb10c6d318d2294de9d49dd8b031b55e3c3fe139f2e637da70511e9e7b71
6
+
7
+ foo=bar
@@ -0,0 +1,4 @@
1
+ AWS4-HMAC-SHA256
2
+ 20110909T233600Z
3
+ 20110909/us-east-1/host/aws4_request
4
+ c4115f9e54b5cecf192b1eaa23b8e88ed8dc5391bd4fde7b3fff3d9c9fe0af1f
@@ -0,0 +1 @@
1
+ AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=content-type;date;host, Signature=5a15b22cf462f047318703b92e6f4f38884e4a7ab7b1d6426ca46a8bd1c26cbc
@@ -0,0 +1,9 @@
1
+ POST
2
+ /
3
+
4
+ content-type:application/x-www-form-urlencoded
5
+ date:Mon, 09 Sep 2011 23:36:00 GMT
6
+ host:host.foo.com
7
+
8
+ content-type;date;host
9
+ 3ba8907e7a252327488df390ed517c45b96dead033600219bdca7107d1d3f88a
@@ -0,0 +1,6 @@
1
+ POST / http/1.1
2
+ Content-Type:application/x-www-form-urlencoded
3
+ Date:Mon, 09 Sep 2011 23:36:00 GMT
4
+ Host:host.foo.com
5
+
6
+ foo=bar
@@ -0,0 +1,7 @@
1
+ POST / http/1.1
2
+ Content-Type:application/x-www-form-urlencoded
3
+ Date:Mon, 09 Sep 2011 23:36:00 GMT
4
+ Host:host.foo.com
5
+ Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=content-type;date;host, Signature=5a15b22cf462f047318703b92e6f4f38884e4a7ab7b1d6426ca46a8bd1c26cbc
6
+
7
+ foo=bar
@@ -0,0 +1,4 @@
1
+ AWS4-HMAC-SHA256
2
+ 20110909T233600Z
3
+ 20110909/us-east-1/host/aws4_request
4
+ 4c5c6e4b52fb5fb947a8733982a8a5a61b14f04345cbfe6e739236c76dd48f74
@@ -0,0 +1 @@
1
+ AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host;zoo, Signature=e466e59a8f69db46393c688fc3b4fdca8de56046bdab1d963ea3d9c27f5781f0
@@ -0,0 +1,9 @@
1
+ POST
2
+ /
3
+
4
+ date:Mon, 09 Sep 2011 23:36:00 GMT
5
+ host:host.foo.com
6
+ zoo:zoobar,foobar,zoobar
7
+
8
+ date;host;zoo
9
+ e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
@@ -0,0 +1,7 @@
1
+ POST / http/1.1
2
+ DATE:Mon, 09 Sep 2011 23:36:00 GMT
3
+ host:host.foo.com
4
+ ZOO:zoobar
5
+ zoo:foobar
6
+ zoo:zoobar
7
+
@@ -0,0 +1,8 @@
1
+ POST / http/1.1
2
+ DATE:Mon, 09 Sep 2011 23:36:00 GMT
3
+ host:host.foo.com
4
+ ZOO:zoobar
5
+ zoo:foobar
6
+ zoo:zoobar
7
+ Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host;zoo, Signature=e466e59a8f69db46393c688fc3b4fdca8de56046bdab1d963ea3d9c27f5781f0
8
+
@@ -0,0 +1,4 @@
1
+ AWS4-HMAC-SHA256
2
+ 20110909T233600Z
3
+ 20110909/us-east-1/host/aws4_request
4
+ 27e5a0aba5b78c3d4937ba61a36badc9919a9b9773a6442b486781bd9872169e
@@ -0,0 +1 @@
1
+ AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host;p, Signature=bb7956f64dfab89c02bcf8ce99819d83b830048c6fad8a24e1fbbc49ee200e8a
@@ -0,0 +1,9 @@
1
+ POST
2
+ /
3
+
4
+ date:Mon, 09 Sep 2011 23:36:00 GMT
5
+ host:host.foo.com
6
+ p:z,a,p,a
7
+
8
+ date;host;p
9
+ e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
@@ -0,0 +1,8 @@
1
+ POST / http/1.1
2
+ DATE:Mon, 09 Sep 2011 23:36:00 GMT
3
+ host:host.foo.com
4
+ p:z
5
+ p:a
6
+ p:p
7
+ p:a
8
+
@@ -0,0 +1,9 @@
1
+ POST / http/1.1
2
+ DATE:Mon, 09 Sep 2011 23:36:00 GMT
3
+ host:host.foo.com
4
+ p:z
5
+ p:a
6
+ p:p
7
+ p:a
8
+ Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host;p, Signature=bb7956f64dfab89c02bcf8ce99819d83b830048c6fad8a24e1fbbc49ee200e8a
9
+
@@ -0,0 +1,4 @@
1
+ AWS4-HMAC-SHA256
2
+ 20110909T233600Z
3
+ 20110909/us-east-1/host/aws4_request
4
+ e455f0635c9f5336ee1fad0d35179621427861240fbb106a16d0b93ed7f6bf16
@@ -0,0 +1 @@
1
+ AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=content-type;date;host, Signature=b105eb10c6d318d2294de9d49dd8b031b55e3c3fe139f2e637da70511e9e7b71
@@ -0,0 +1,9 @@
1
+ POST
2
+ /
3
+
4
+ content-type:application/x-www-form-urlencoded; charset=utf8
5
+ date:Mon, 09 Sep 2011 23:36:00 GMT
6
+ host:host.foo.com
7
+
8
+ content-type;date;host
9
+ 3ba8907e7a252327488df390ed517c45b96dead033600219bdca7107d1d3f88a
@@ -0,0 +1,6 @@
1
+ POST / http/1.1
2
+ Date:Mon, 09 Sep 2011 23:36:00 GMT
3
+ Host:host.foo.com
4
+ Content-Type:application/x-www-form-urlencoded; charset=utf8
5
+
6
+ foo=bar
@@ -0,0 +1,7 @@
1
+ POST / http/1.1
2
+ Content-Type:application/x-www-form-urlencoded; charset=utf8
3
+ Date:Mon, 09 Sep 2011 23:36:00 GMT
4
+ Host:host.foo.com
5
+ Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=content-type;date;host, Signature=b105eb10c6d318d2294de9d49dd8b031b55e3c3fe139f2e637da70511e9e7b71
6
+
7
+ foo=bar
@@ -0,0 +1,4 @@
1
+ AWS4-HMAC-SHA256
2
+ 20110909T233600Z
3
+ 20110909/us-east-1/host/aws4_request
4
+ c4115f9e54b5cecf192b1eaa23b8e88ed8dc5391bd4fde7b3fff3d9c9fe0af1f
@@ -0,0 +1 @@
1
+ AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=a-funny-header;date;host, Signature=5d63db6df1454e99cdff20966ac2fe0c6ed6cd330b0c7dbcb0e3155e164e49d7
@@ -0,0 +1,9 @@
1
+ POST
2
+ /
3
+
4
+ a-funny-header:" foo bar "
5
+ date:Mon, 09 Sep 2011 23:36:00 GMT
6
+ host:host.foo.com
7
+
8
+ a-funny-header;date;host
9
+ e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
@@ -0,0 +1,5 @@
1
+ POST / http/1.1
2
+ A-Funny-Header: " foo bar "
3
+ Date:Mon, 09 Sep 2011 23:36:00 GMT
4
+ Host:host.foo.com
5
+
@@ -0,0 +1,6 @@
1
+ POST / http/1.1
2
+ A-Funny-Header: " foo bar "
3
+ Date:Mon, 09 Sep 2011 23:36:00 GMT
4
+ Host:host.foo.com
5
+ Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=a-funny-header;date;host, Signature=5d63db6df1454e99cdff20966ac2fe0c6ed6cd330b0c7dbcb0e3155e164e49d7
6
+
@@ -0,0 +1,4 @@
1
+ AWS4-HMAC-SHA256
2
+ 20110909T233600Z
3
+ 20110909/us-east-1/host/aws4_request
4
+ 18ede26dfe222a2f36faf047b1ba8014bce2ab0c22d4b6544509088c0ddaab10
@@ -0,0 +1 @@
1
+ AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=content-type;date;host, Signature=b105eb10c6d318d2294de9d49dd8b031b55e3c3fe139f2e637da70511e9e7b71
@@ -0,0 +1,9 @@
1
+ POST
2
+ /
3
+
4
+ content-type:application/x-www-form-urlencoded; charset=utf8
5
+ date:Mon, 09 Sep 2011 23:36:00 GMT
6
+ host:host.foo.com
7
+
8
+ content-type;date;host
9
+ 3ba8907e7a252327488df390ed517c45b96dead033600219bdca7107d1d3f88a
@@ -0,0 +1,6 @@
1
+ POST / http/1.1
2
+ Content-Type: application/x-www-form-urlencoded; charset=utf8
3
+ Date:Mon, 09 Sep 2011 23:36:00 GMT
4
+ Host:host.foo.com
5
+
6
+ foo=bar
@@ -0,0 +1,7 @@
1
+ POST / http/1.1
2
+ Content-Type:application/x-www-form-urlencoded; charset=utf8
3
+ Date:Mon, 09 Sep 2011 23:36:00 GMT
4
+ Host:host.foo.com
5
+ Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=content-type;date;host, Signature=b105eb10c6d318d2294de9d49dd8b031b55e3c3fe139f2e637da70511e9e7b71
6
+
7
+ foo=bar
@@ -0,0 +1,4 @@
1
+ AWS4-HMAC-SHA256
2
+ 20110909T233600Z
3
+ 20110909/us-east-1/host/aws4_request
4
+ c4115f9e54b5cecf192b1eaa23b8e88ed8dc5391bd4fde7b3fff3d9c9fe0af1f