-
Notifications
You must be signed in to change notification settings - Fork 33
Hug définitif #159
base: master
Are you sure you want to change the base?
Hug définitif #159
Conversation
:Date: 2017-03-16 | ||
:Licence: | ||
:ref:`licence` | ||
======= |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avez-vous une bonne raison de toucher ce fichier-là?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
je corrigeais les conflits
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
si vous repartez depuis master
, il n'y aura aucun conflit.
source/hug/index.rst
Outdated
documentation par le code et il intègre la validation des données. | ||
|
||
Avant de commencer | ||
------------------ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Si j'ai ôté la partie installation, c'est qu'elle n'est pas désirée.
source/hug/index.rst
Outdated
@@ -347,28 +388,52 @@ comme le montre le code ci-dessous | |||
le ``Content-Type`` nommé ``file/text`` n'existe pas. Ce n'est pas donc pas | |||
un exemple utilisable en l'état. | |||
|
|||
.. Yoan |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Et?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Est-ce possible de documenter ce que vous avez corrigé ? Merci.
Quelques mot sur les format de sortie
@@ -378,16 +367,30 @@ comme le montre le code ci-dessous | |||
|
|||
.. code-block:: python3 | |||
|
|||
@hug.format.content_type('file/text') | |||
@hug.format.content_type('text/plain') | |||
def format_as_text(data, request=None, response=None): | |||
return str(content).encode('utf-8') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -0,0 +1,2 @@ | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ce fichier n'est pas nécessaire.
No description provided.