- ltdconveyor.s3.presignedpost.upload_directory_objects(*, post_urls)#
Upload directory redirect objects for an LSST the Docs product build.
post_urls (dict) – This dictionary is obtained from the
"post_dir_urls"field of the ltdconveyor.keeper.register_build function. It contains presigned post POST URLs and fields for each directory in the site being uploaded (see the
dirnamesparameter to ~ltdconveyor.keeper.register_build).
- Return type:
Directory redirect objects in S3 are named after directories, don’t have a trailing slash in their key name, and don’t have any content. What they do have is a
x-amz-meta-dir-redirectheader key. The LSST the Docs Fastly configuration looks for this header, and when detected, redirects the request to the associated