Skip to content

Commit

Permalink
fix(api-gateway): incorrect plain text mimetype #506
Browse files Browse the repository at this point in the history
  • Loading branch information
heitorlessa committed Jul 6, 2021
1 parent a519cce commit f61b02f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion aws_lambda_powertools/event_handler/content_types.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# use mimetypes library to be certain, e.g., mimetypes.types_map[".json"]

APPLICATION_JSON = "application/json"
PLAIN_TEXT = "plain/text"
PLAIN_TEXT = "text/plain"

2 comments on commit f61b02f

@michaelbrewer
Copy link
Contributor

Choose a reason for hiding this comment

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

@heitorlessa oops :(

@heitorlessa
Copy link
Contributor Author

@heitorlessa heitorlessa commented on f61b02f Jul 6, 2021 via email

Choose a reason for hiding this comment

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

Please sign in to comment.