1
0
mirror of https://github.com/klokantech/tileserver-php.git synced 2025-08-01 12:10:13 +02:00

Merge pull request #141 from ibesora/master

Removes body data from http 204 response
This commit is contained in:
Dalibor Janák
2019-01-07 14:31:58 +01:00
committed by GitHub

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: *');