changeset 4556:c149edb37349

Fix mentions of 'Content-Size' (should be Content-Length) (thanks Roobre)
author Matthew Wild <mwild1@gmail.com>
date Sat, 08 May 2021 15:51:21 +0100
parents 1e70538e4641
children 864fefec1c07
files mod_http_upload_external/README.markdown
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/mod_http_upload_external/README.markdown	Wed Apr 28 08:22:47 2021 +0200
+++ b/mod_http_upload_external/README.markdown	Sat May 08 15:51:21 2021 +0100
@@ -159,16 +159,16 @@
 
 The token will be in the URL query parameter 'v2'. If it is absent, fail with 403 Forbidden.
 
-| Input         | Example     |Read from                                                            |
-|:--------------|:------------|:--------------------------------------------------------------------|
-|`file_path`    | foo/bar.jpg | The URL of the PUT request, with the service's base prefix removed. |
-|`content_size` | 1048576     | Content-Size header                                                 |
-|`content_type` | image/jpeg  | Content-Type header                                                 |
+| Input           | Example     |Read from                                                            |
+|:----------------|:------------|:--------------------------------------------------------------------|
+|`file_path`      | foo/bar.jpg | The URL of the PUT request, with the service's base prefix removed. |
+|`content_length` | 1048576     | Content-Length header                                               |
+|`content_type`   | image/jpeg  | Content-Type header                                                 |
 
 The parameters should be joined into a single string, separated by NUL bytes (`\0`):
 
 ```
-  signed_string = ( file_path + '\0' + content_size + '\0' + content_type )
+  signed_string = ( file_path + '\0' + content_length + '\0' + content_type )
 ```
 
 ```