Andreas Kling
b9b7b2b28a
LibCore: Make IODevice::read_line() return a String
...
Almost everyone using this API actually wanted String instead of a
ByteBuffer anyway, and there were a bunch of slightly different ways
clients would convert to String.
Let's just cut out all the confusion and make it return String. :^)
2020-12-13 11:54:11 +01:00
AnotherTest
ec0315883b
LibHTTP: Be more tolerant about bad chunked encoding trailers
...
Some servers (*glares at cloudflare*) like to send two last chunks,
which is strictly against the spec. Let's be more tolerant of this
behaviour.
2020-07-26 14:55:47 +02:00
AnotherTest
3485613f4a
LibCore: Make IODevice::can_read_line() const
...
This also makes LibHTTP's Job::can_read_line() const, as IODevice was
keeping that from being const.
Fixes #2219
2020-05-15 09:50:48 +02:00
AnotherTest
155853afb2
LibHTTP: Unify and generalise response handling logic
2020-05-05 11:04:06 +02:00
AnotherTest
7670e5ccf0
LibCore+LibHTTP: Move out the HTTP handler and add HTTPS
2020-05-02 12:24:10 +02:00