|
@@ -227,7 +227,12 @@
|
|
<section id="meta-http-headers">
|
|
<section id="meta-http-headers">
|
|
<h3><a href="#meta-http-headers">HTTP Headers</a></h3>
|
|
<h3><a href="#meta-http-headers">HTTP Headers</a></h3>
|
|
<p>
|
|
<p>
|
|
- Crafatar always replies with a <code>200 OK</code> status code when the requested user's skin/cape was found. This is also used in some rare cases when Mojang servers are having issues and the image couldn't be checked for changes, but Crafatar still had a cached version. <code>502 Bad Gateway</code> and <code>500 Server Error</code> are used when no skin/cape was found because of Mojang or Crafatar server issues.
|
|
|
|
|
|
+ Crafatar always replies with a <code>200 OK</code> status code when the requested user's skin/cape was found. This is also used in some rare cases when Mojang servers are having issues and the image couldn't be checked for changes, but Crafatar still had a cached version.
|
|
|
|
+ <% if (config.caching.cloudflare) { %>
|
|
|
|
+ <code>500 Server Error</code> is used when no skin/cape was found because of Mojang or Crafatar server issues.
|
|
|
|
+ <% } else { %>
|
|
|
|
+ <code>502 Bad Gateway</code> and <code>500 Server Error</code> are used when no skin/cape was found because of Mojang or Crafatar server issues.
|
|
|
|
+ <% } %>
|
|
</p>
|
|
</p>
|
|
<p>
|
|
<p>
|
|
Note that requests are usually answered with an image (with Steve/Alex skin), even if an error occured!
|
|
Note that requests are usually answered with an image (with Steve/Alex skin), even if an error occured!
|