mirror of
https://github.com/monero-project/monero.git
synced 2025-11-27 08:20:27 -05:00
epee: remove dead HTTP code
http_client.h
This commit is contained in:
parent
365fd45b03
commit
ab7102e31f
5 changed files with 0 additions and 137 deletions
|
|
@ -55,20 +55,8 @@ namespace net_utils
|
|||
http_method_unknown
|
||||
};
|
||||
|
||||
enum http_content_type
|
||||
{
|
||||
http_content_type_text_html,
|
||||
http_content_type_image_gif,
|
||||
http_content_type_other,
|
||||
http_content_type_not_set
|
||||
};
|
||||
|
||||
typedef std::list<std::pair<std::string, std::string> > fields_list;
|
||||
|
||||
std::string get_value_from_fields_list(const std::string& param_name, const net_utils::http::fields_list& fields);
|
||||
|
||||
std::string get_value_from_uri_line(const std::string& param_name, const std::string& uri);
|
||||
|
||||
static inline void add_field(std::string& out, const boost::string_ref name, const boost::string_ref value)
|
||||
{
|
||||
out.append(name.data(), name.size()).append(": ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue