@@ -179,8 +179,7 @@ def selectPersonalBonusRecords(
179179
180180 if len (xquery ) <= 0 :
181181 response .headers ["content-type" ] = "application/json"
182- response .status_code = status .HTTP_404_NOT_FOUND
183- response .body = {"xtime" : time .perf_counter () - tic }
182+ response .status_code = status .HTTP_204_NO_CONTENT
184183 return response
185184
186185 toc = time .perf_counter ()
@@ -230,8 +229,7 @@ def selectPlayerRankBonus(
230229
231230 if len (xquery ) <= 0 :
232231 response .headers ["content-type" ] = "application/json"
233- response .status_code = status .HTTP_404_NOT_FOUND
234- response .body = {"xtime" : time .perf_counter () - tic }
232+ response .status_code = status .HTTP_204_NO_CONTENT
235233 return response
236234
237235 toc = time .perf_counter ()
@@ -270,8 +268,7 @@ def selectFastestBonus(
270268
271269 if len (xquery ) <= 0 :
272270 response .headers ["content-type" ] = "application/json"
273- response .status_code = status .HTTP_404_NOT_FOUND
274- response .body = {"xtime" : time .perf_counter () - tic }
271+ response .status_code = status .HTTP_204_NO_CONTENT
275272 return response
276273
277274 toc = time .perf_counter ()
@@ -310,8 +307,7 @@ def selectAllBonusTimesinMap(
310307
311308 if len (xquery ) <= 0 :
312309 response .headers ["content-type" ] = "application/json"
313- response .status_code = status .HTTP_404_NOT_FOUND
314- response .body = {"xtime" : time .perf_counter () - tic }
310+ response .status_code = status .HTTP_204_NO_CONTENT
315311 return response
316312
317313 toc = time .perf_counter ()
@@ -359,8 +355,7 @@ def selectTopBonusSurfers(
359355
360356 if len (xquery ) <= 0 :
361357 response .headers ["content-type" ] = "application/json"
362- response .status_code = status .HTTP_404_NOT_FOUND
363- response .body = {"xtime" : time .perf_counter () - tic }
358+ response .status_code = status .HTTP_204_NO_CONTENT
364359 return response
365360
366361 toc = time .perf_counter ()
0 commit comments