Skip to content

Commit

Permalink
updating documentation to reflect iso-8859-1 might show up in inline …
Browse files Browse the repository at this point in the history
…content
  • Loading branch information
petersilva committed Feb 2, 2024
1 parent 0c3b391 commit e51cb17
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
7 changes: 5 additions & 2 deletions docs/source/Reference/sr_post.7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,12 @@ The headers are an array of name:value pairs::

"content" - for smaller files, the content may be embedded.
{
"encoding" : "utf-8" | "base64" ,
"encoding" : "utf-8" | "base64" | "iso-8859-1" ,
"value" " "encoded file content"
}
}
Note that the iso-8859-1 encoding is only an allowance for legacy data flows.
Should normally not be used.

"contentType" : "string" - MIME-type information referring to the data.

For "v03.report" topic notification messages the following addtional
Expand Down
13 changes: 7 additions & 6 deletions docs/source/fr/Reference/sr_post.7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ Les en-têtes sont un tableau de paires nom:valeur::
"type": "Feature"
"geometry": RFC 7946 (geoJSON) spécification géographique compatible.


"size" - le nombre d’octets annoncés.
"blocks" - si le fichier publié est partitionné, alors :
{
Expand All @@ -117,9 +116,12 @@ Les en-têtes sont un tableau de paires nom:valeur::

"content" - pour les fichiers plus petits, le contenu peut être incorporé.
{
"encoding" : "utf-8" | "base64" ,
"encoding" : "utf-8" | "base64" | "iso-8859-1" ,
"value" " "contenu de fichier encodé"
}
}
Noter que iso-8859-1 est là pour des raisons de transmission inaltéré de formats obsolètes.

"contentType" : "chaine mime-type" - indique le format des données.

Pour le messages de thème "v03.report", les en-têtes additionnelles qui suivent seront présents:

Expand All @@ -128,9 +130,8 @@ Les en-têtes sont un tableau de paires nom:valeur::
"message" : - message de rapport d’état documenté dans `Report Messages`_
}

"contentType" : "chaine mime-type" - indique le format des données.
"type": "Feature" - utilisé pour la compatibilité geoJSON.
"geometry" : ... selon la compatibilité GoJSON RFC7946.
Autres champs optionnels:


des paires supplémentaires nom:valeur définies par l’utilisateur sont autorisées.

Expand Down

0 comments on commit e51cb17

Please sign in to comment.