[Fix][HttpResponse] Fix possible arithmetic overflow