[tor-commits] [flashproxy/master] Use status 204 (No content) after URL registration.

dcf at torproject.org dcf at torproject.org
Wed Mar 13 09:01:24 UTC 2013


commit be24f2a807dd24c843c7587416c3f750415e1167
Author: David Fifield <david at bamsoftware.com>
Date:   Wed Mar 6 21:39:25 2013 -0800

    Use status 204 (No content) after URL registration.
---
 facilitator/facilitator.cgi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/facilitator/facilitator.cgi b/facilitator/facilitator.cgi
index 57eb417..003cf86 100755
--- a/facilitator/facilitator.cgi
+++ b/facilitator/facilitator.cgi
@@ -49,7 +49,7 @@ def do_get():
         # This is a URL-based registration.
         if not url_reg(path_parts[1]):
             exit_error(500)
-        output_status(200)
+        output_status(204)
     elif len(path_parts) == 0:
         try:
             reg = fac.get_reg(FACILITATOR_ADDR, remote_addr) or ""





More information about the tor-commits mailing list