mirror of
https://github.com/klokantech/tileserver-php.git
synced 2025-08-03 13:17:34 +02:00
Merge pull request #141 from ibesora/master
Removes body data from http 204 response
This commit is contained in:
@@ -421,7 +421,6 @@ class Server {
|
|||||||
header('Access-Control-Allow-Origin: *');
|
header('Access-Control-Allow-Origin: *');
|
||||||
header('HTTP/1.1 204 No Content');
|
header('HTTP/1.1 204 No Content');
|
||||||
header('Content-Type: application/json; charset=utf-8');
|
header('Content-Type: application/json; charset=utf-8');
|
||||||
echo '{"message":"Tile does not exist"}';
|
|
||||||
break;
|
break;
|
||||||
case 'webp':
|
case 'webp':
|
||||||
header('Access-Control-Allow-Origin: *');
|
header('Access-Control-Allow-Origin: *');
|
||||||
|
Reference in New Issue
Block a user