diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2015-06-29 14:33:38 +0000 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2015-06-29 14:33:38 +0000 |
commit | 13aba2e2ba02476410ccee95974c7c5181f83fcf (patch) | |
tree | dd0285f8b00635452759ceebdd104c648b2e2f2a /src/include/gnunet_rest_plugin.h | |
parent | d953fdc6293a9468019eebbcfed92c3b5387ec48 (diff) | |
download | gnunet-13aba2e2ba02476410ccee95974c7c5181f83fcf.tar.gz gnunet-13aba2e2ba02476410ccee95974c7c5181f83fcf.zip |
- add CORS logic
Diffstat (limited to 'src/include/gnunet_rest_plugin.h')
-rw-r--r-- | src/include/gnunet_rest_plugin.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/gnunet_rest_plugin.h b/src/include/gnunet_rest_plugin.h index e1eabd813..abc0aea4c 100644 --- a/src/include/gnunet_rest_plugin.h +++ b/src/include/gnunet_rest_plugin.h | |||
@@ -59,6 +59,11 @@ struct GNUNET_REST_Plugin | |||
59 | char *name; | 59 | char *name; |
60 | 60 | ||
61 | /** | 61 | /** |
62 | * Supported HTTP Methods | ||
63 | */ | ||
64 | char *allow_methods; | ||
65 | |||
66 | /** | ||
62 | * Function to process a REST call | 67 | * Function to process a REST call |
63 | * | 68 | * |
64 | * @param method the HTTP method called | 69 | * @param method the HTTP method called |