diff options
author | Tim L <timo614@gmail.com> | 2017-10-24 09:26:05 -0400 |
---|---|---|
committer | Tim L <timo614@gmail.com> | 2017-10-30 13:55:56 -0400 |
commit | 69c37200aa87f100f731e755bdca7a0dc6ae820a (patch) | |
tree | 3ce8802ae8709ba3e49a16c5a1d5f07038fb819f /contrib/epee/include/net/http_base.h | |
parent | Merge pull request #2601 (diff) | |
download | monero-69c37200aa87f100f731e755bdca7a0dc6ae820a.tar.xz |
RPC Add cross origin resource sharing support
Diffstat (limited to 'contrib/epee/include/net/http_base.h')
-rwxr-xr-x[-rw-r--r--] | contrib/epee/include/net/http_base.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/epee/include/net/http_base.h b/contrib/epee/include/net/http_base.h index 144acad9d..a66fb7c23 100644..100755 --- a/contrib/epee/include/net/http_base.h +++ b/contrib/epee/include/net/http_base.h @@ -46,6 +46,7 @@ namespace net_utils { enum http_method{ + http_method_options, http_method_get, http_method_post, http_method_put, @@ -115,6 +116,7 @@ namespace net_utils std::string m_host; //"Host:" std::string m_cookie; //"Cookie:" std::string m_user_agent; //"User-Agent:" + std::string m_origin; //"Origin:" fields_list m_etc_fields; void clear() @@ -128,6 +130,7 @@ namespace net_utils m_host.clear(); m_cookie.clear(); m_user_agent.clear(); + m_origin.clear(); m_etc_fields.clear(); } }; |