1 #ifndef IPFS_RESPONSE_H_
2 #define IPFS_RESPONSE_H_
4 #include "ipld/dag_headers.h"
6 #include <vocab/byte.h>
19 std::uint16_t status_;
21 std::string location_;
26 static Response HOST_NOT_FOUND_RESPONSE;
30 static Response html(std::string_view body, std::string_view location = {});
Definition: response.h:17
static Response html(std::string_view body, std::string_view location={})