mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 03:18:11 +00:00
![]() A website with a 4xx status code is still a valid website, we should not artificially hide it. In fact, many websites implement custom 404 error pages for example, often containing search functionality or links back to the homepage. This might have implications regarding the loading of stylesheets where the request 404s, but since we were not handling 5xx status codes as errors either, I think that's fine for now (but might need additional work later). Worst case, the parser rejects to load some error page HTML as CSS :^) |
||
---|---|---|
.. | ||
ContentFilter.cpp | ||
ContentFilter.h | ||
CSSLoader.cpp | ||
CSSLoader.h | ||
FrameLoader.cpp | ||
FrameLoader.h | ||
ImageLoader.cpp | ||
ImageLoader.h | ||
ImageResource.cpp | ||
ImageResource.h | ||
LoadRequest.cpp | ||
LoadRequest.h | ||
Resource.cpp | ||
Resource.h | ||
ResourceLoader.cpp | ||
ResourceLoader.h |