Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Hug définitif #159

Open
wants to merge 34 commits into
base: master
Choose a base branch
from
Open

Hug définitif #159

wants to merge 34 commits into from

Conversation

charlyDevor
Copy link
Contributor

No description provided.

:Date: 2017-03-16
:Licence:
:ref:`licence`
=======
Copy link
Member

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à?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

je corrigeais les conflits

Copy link
Member

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.

documentation par le code et il intègre la validation des données.

Avant de commencer
------------------
Copy link
Member

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.

@@ -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
Copy link
Member

Choose a reason for hiding this comment

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

Et?

Copy link
Member

@greut greut left a 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')
Copy link
Member

Choose a reason for hiding this comment

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

@@ -0,0 +1,2 @@


Copy link
Member

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants