Show
Ignore:
Timestamp:
10/02/09 13:56:46 (5 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1254491806 +0000
git-parent:

[65a01d99436a074114d89ea53959bfd58ccb7374]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1254491806 +0000
Message:

closes #196

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/noit_filters_rest.c

    r75ee62d rfc257c3  
    234234void 
    235235noit_filters_rest_init() { 
    236   assert(noit_http_rest_register
     236  assert(noit_http_rest_register_auth
    237237    "GET", "/filters/", "^show(/.*)(?<=/)([^/]+)$", 
    238     rest_show_filter 
     238    rest_show_filter, noit_http_rest_client_cert_auth 
    239239  ) == 0); 
    240   assert(noit_http_rest_register
     240  assert(noit_http_rest_register_auth
    241241    "PUT", "/filters/", "^set(/.*)(?<=/)([^/]+)$", 
    242     rest_set_filter 
     242    rest_set_filter, noit_http_rest_client_cert_auth 
    243243  ) == 0); 
    244   assert(noit_http_rest_register
     244  assert(noit_http_rest_register_auth
    245245    "DELETE", "/filters/", "^delete(/.*)(?<=/)([^/]+)$", 
    246     rest_delete_filter 
     246    rest_delete_filter, noit_http_rest_client_cert_auth 
    247247  ) == 0); 
    248248}