Skip to content

Feat(Object Storage): Browser-Based Uploads Using POST#351

Open
lason-ovh wants to merge 5 commits into
developfrom
lso_post_object
Open

Feat(Object Storage): Browser-Based Uploads Using POST#351
lason-ovh wants to merge 5 commits into
developfrom
lso_post_object

Conversation

@lason-ovh

Copy link
Copy Markdown
Collaborator

user doc for new s3 feature post_object.

should be reviewed by @agoude and/or @rdejoux

lason-ovh added 4 commits July 6, 2026 17:43
init doc en

Signed-off-by: lason-ovh <115475837+lason-ovh@users.noreply.github.com>
created en doc for post-object feature

Signed-off-by: lason-ovh <115475837+lason-ovh@users.noreply.github.com>
first commit for fr version


Signed-off-by: lason-ovh <115475837+lason-ovh@users.noreply.github.com>
doc user post_object fr version

Signed-off-by: lason-ovh <115475837+lason-ovh@users.noreply.github.com>
@Y0Coss Y0Coss added Storage and Backup The PR documents Storage and Backup products: File Storage, Block Storage, Backup and DRP NEW The PR contains new unreleased guides. Sidebar must be edited. labels Jul 7, 2026
@Y0Coss Y0Coss changed the title Lso post object Feat(Object Storage): Browser-Based Uploads Using POST Jul 7, 2026
@benchbzh benchbzh requested review from agoude and rdejoux July 7, 2026 16:03

@rdejoux rdejoux left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few comments, the first one is the most important.

6. The browser receives a response: an HTTP redirect or a status code depending on your form configuration.

> [!primary]
> OVHcloud Object Storage requires the **virtual-hosted style** URL format for POST uploads:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We support virtual-hosted AND path styles.

> Replace `<region>` with the OVHcloud region identifier (for example: `gra`, `rbx`, `sbg`, `bhs`, `de`, `uk`).

> [!warning]
> **HTTPS is mandatory.** The POST Policy, credentials, and signature are transmitted in plaintext within the HTML form. Using HTTP exposes them in transit and must not be used.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our endpoints only work in https is this warning really usefull ?

| `x-amz-meta-*` | Custom user metadata fields (for example: `x-amz-meta-author`) |
| `tagging` | XML-formatted object tags |
| `x-amz-storage-class` | Storage class for the object |

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should had optional x-amz-checksum-*

6. Le navigateur reçoit une réponse : une redirection HTTP ou un code de statut selon la configuration du formulaire.

> [!primary]
> OVHcloud Object Storage exige le format d'URL **virtual-hosted style** pour les chargements POST :

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same comment as in english version

> Remplacez `<region>` par l'identifiant de région OVHcloud (par exemple : `gra`, `rbx`, `sbg`, `bhs`, `de`, `uk`).

> [!warning]
> **HTTPS est obligatoire.** La POST Policy, les informations d'identification et la signature sont transmises en clair dans le formulaire HTML. L'utilisation de HTTP les expose en transit et ne doit pas être utilisée.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same comment as in english version

| `success_action_status` | Code de statut HTTP retourné en cas de succès sans redirection : `200`, `201`, ou `204` (défaut) |
| `x-amz-meta-*` | Champs de métadonnées utilisateur personnalisées (par exemple : `x-amz-meta-auteur`) |
| `tagging` | Balises d'objet au format XML |
| `x-amz-storage-class` | Classe de stockage de l'objet |

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same comment as in english version

@Y0Coss Y0Coss left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @lason-ovh , this is a new guide so you also need to edit the index.md file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

NEW The PR contains new unreleased guides. Sidebar must be edited. Storage and Backup The PR documents Storage and Backup products: File Storage, Block Storage, Backup and DRP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants