mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:57:35 +00:00
LibHTTP: Propagate OOM errors from HttpRequest::to_raw_request()
This commit is contained in:
parent
f068ddb79f
commit
d0ecd81888
3 changed files with 20 additions and 20 deletions
|
@ -57,7 +57,7 @@ public:
|
|||
void set_body(ByteBuffer&& body) { m_body = move(body); }
|
||||
|
||||
DeprecatedString method_name() const;
|
||||
ByteBuffer to_raw_request() const;
|
||||
ErrorOr<ByteBuffer> to_raw_request() const;
|
||||
|
||||
void set_headers(HashMap<DeprecatedString, DeprecatedString> const&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue