[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit be24f2a807dd24c843c7587416c3f750415e1167
Author: David Fifield <david@xxxxxxxxxxxxxxx>
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 ""



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits