LibHTTP+LibWeb: Remove unused HTTP::HTTPResponse

The only thing in HTTPResponse being used is reason_phrase_for_code,
which is just a static helper method. Move it to its own file and remove
HTTPResponse.

This is just one less thing to have to port to an upcoming HTTP header
refactor.
This commit is contained in:
Timothy Flynn 2025-11-23 18:54:27 -05:00 committed by Jelle Raaijmakers
parent bf75f52ce0
commit 0480934afb
Notes: github-actions[bot] 2025-11-27 13:59:13 +00:00
6 changed files with 82 additions and 130 deletions

View file

@ -10,7 +10,6 @@
#include <LibCore/MimeData.h>
#include <LibCore/Resource.h>
#include <LibGC/Function.h>
#include <LibHTTP/HttpResponse.h>
#include <LibRequests/Request.h>
#include <LibRequests/RequestClient.h>
#include <LibURL/Parser.h>