aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include/net/http_base.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-10-31 20:38:38 +0200
committerRiccardo Spagni <ric@spagni.net>2017-10-31 20:38:38 +0200
commit54463b33b3169f9d1ed6aefcc321e3715c066bd5 (patch)
treecd111785fb782181d7a9eebda0a80f53f2587ad3 /contrib/epee/include/net/http_base.h
parentMerge pull request #2711 (diff)
parentRPC Add cross origin resource sharing support (diff)
downloadmonero-54463b33b3169f9d1ed6aefcc321e3715c066bd5.tar.xz
Merge pull request #2723
69c37200 RPC Add cross origin resource sharing support (Tim L)
Diffstat (limited to 'contrib/epee/include/net/http_base.h')
-rwxr-xr-x[-rw-r--r--]contrib/epee/include/net/http_base.h3
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();
}
};