diff options
author | AnotherTest <ali.mpfard@gmail.com> | 2020-05-02 22:48:40 +0430 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-05-02 20:23:15 +0200 |
commit | a63e8c4a0374ffd3e20a67260753d051c9a9c8dc (patch) | |
tree | 2d88ba66a2bf1085e6ebf418f23cc614f1d06f0d /Libraries/LibGUI/Window.cpp | |
parent | ce0bed048277ee41ba09cb41f5961b11003840d0 (diff) | |
download | serenity-a63e8c4a0374ffd3e20a67260753d051c9a9c8dc.zip |
LibHTTP: Trim received data to Content-Length
Apparently servers will feel free to pad their response if they send one
that contains a content-length field.
We should not assume that the entirety of the response is valid data.
Diffstat (limited to 'Libraries/LibGUI/Window.cpp')
0 files changed, 0 insertions, 0 deletions