summaryrefslogtreecommitdiff
path: root/_posts/2010-09-17-spore.md
diff options
context:
space:
mode:
Diffstat (limited to '_posts/2010-09-17-spore.md')
-rw-r--r--_posts/2010-09-17-spore.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/_posts/2010-09-17-spore.md b/_posts/2010-09-17-spore.md
index 6c60f9d..68a1cf6 100644
--- a/_posts/2010-09-17-spore.md
+++ b/_posts/2010-09-17-spore.md
@@ -95,7 +95,7 @@ Middlewares are the nice part of it. By default, the core only creates a request
* proxying
* ...
-<img src='/static/imgs/chart.png' alt='schema'>
+<img src='/static/imgs/chart.webp' alt='schema'>
The most obvious middleware is the one that handles the format. When you load the middleware Format::JSON, it will set various headers on your request. In case of a GET method, the **Accept** header will be set to **application/json**. For a POST, the **Content-Type** will be also set. Before returning the result to the client, the content will be transformed from JSON to a Perl structure.