[flashproxy/master] Send /ip as text/plain.

20 May
2013
20 May
'13
7:32 a.m.
commit 4dcb05cac85663e3de4f7cd12cb11677a83d3c29 Author: David Fifield <david@bamsoftware.com> Date: Sun May 19 19:54:14 2013 -0700 Send /ip as text/plain. --- appengine/fp-reg.go | 1 + 1 file changed, 1 insertion(+) diff --git a/appengine/fp-reg.go b/appengine/fp-reg.go index 9d0850c..a485859 100644 --- a/appengine/fp-reg.go +++ b/appengine/fp-reg.go @@ -16,6 +16,7 @@ func ipHandler(w http.ResponseWriter, r *http.Request) { if net.ParseIP(remoteAddr).To4() == nil { remoteAddr = "[" + remoteAddr + "]" } + w.Header().Set("Content-Type", "text/plain; charset=utf-8") fmt.Fprintf(w, "%s", remoteAddr) }
4400
Age (days ago)
4400
Last active (days ago)
0 comments
1 participants
participants (1)
-
dcf@torproject.org