Commit 0fad6042 authored by Janoš Guljaš's avatar Janoš Guljaš Committed by GitHub

remove experimental -x http header prefix (#300)

parent 6e46128f
...@@ -23,10 +23,10 @@ import ( ...@@ -23,10 +23,10 @@ import (
) )
// Presence of this header means that it needs to be tagged using the uid // Presence of this header means that it needs to be tagged using the uid
const TagHeaderUid = "x-swarm-tag-uid" const TagHeaderUid = "swarm-tag-uid"
// Presence of this header in the HTTP request indicates the chunk needs to be pinned. // Presence of this header in the HTTP request indicates the chunk needs to be pinned.
const PinHeaderName = "x-swarm-pin" const PinHeaderName = "swarm-pin"
func (s *server) chunkUploadHandler(w http.ResponseWriter, r *http.Request) { func (s *server) chunkUploadHandler(w http.ResponseWriter, r *http.Request) {
addr := mux.Vars(r)["addr"] addr := mux.Vars(r)["addr"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment