1
0
mirror of https://github.com/klokantech/tileserver-php.git synced 2025-08-03 21:27:52 +02:00

Removes body data from http 204 response

This commit is contained in:
Isaac Besora Vilardaga
2019-01-07 14:01:19 +01:00
parent 5ddbfa300a
commit d11963d43c

View File

@@ -421,7 +421,6 @@ class Server {
header('Access-Control-Allow-Origin: *');
header('HTTP/1.1 204 No Content');
header('Content-Type: application/json; charset=utf-8');
echo '{"message":"Tile does not exist"}';
break;
case 'webp':
header('Access-Control-Allow-Origin: *');