Skip to content
Snippets Groups Projects
Commit 3602c0f0 authored by Alexis Finard's avatar Alexis Finard
Browse files

docs(README.md) : ajout d'une section concernant le download

parent 7cc10167
No related branches found
No related tags found
No related merge requests found
...@@ -95,3 +95,7 @@ Afin de fournir le chemin du serveur ftp, on passe par un PathParam. Pour cela, ...@@ -95,3 +95,7 @@ Afin de fournir le chemin du serveur ftp, on passe par un PathParam. Pour cela,
@Path("/{alias}/{src: .*}") @Path("/{alias}/{src: .*}")
@Produces(MediaType.TEXT_PLAIN) @Produces(MediaType.TEXT_PLAIN)
``` ```
## Information download
La solution afin de bien renvoyer le fichier à l'utilisateur consistait à renvoyer un type Response avec un header spécifié. Malheureusement, notre fonction initiale renvoie un type String ce qui signifie modifier en grande partie le code actuel. La modification n'a donc pas été réalisé.
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment