zig/lib/std/http
Andrew Kelley 743a0c966d std.http.Client: remove bad decisions from fetch()
* "storage" is a better name than "strategy".
* The most flexible memory-based storage API is appending to an
  ArrayList.
* HTTP method should default to POST if there is a payload.
* Avoid storing unnecessary data in the FetchResult
* Avoid the need for a deinit() method in the FetchResult

The decisions that this logic made about how to handle files is beyond
repair:
- fail to use sendfile() on a plain connection
- redundant stat
- does not handle arbitrary streams
So, file-based response storage is no longer supported. Users should use
the lower-level open() API which allows avoiding these pitfalls.
2024-02-23 02:37:11 -07:00
..
Client.zig std.http.Client: remove bad decisions from fetch() 2024-02-23 02:37:11 -07:00
protocol.zig std.http: parser fixes 2024-02-23 02:37:11 -07:00
Server.zig std.http: fix parsing incorrect tokenization 2024-02-23 02:37:11 -07:00
test.zig std.http: parser fixes 2024-02-23 02:37:11 -07:00