aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/api/http
diff options
context:
space:
mode:
authorJavier Peletier <jm@epiclabs.io>2018-10-02 15:32:46 +0800
committerJavier Peletier <jm@epiclabs.io>2018-10-03 15:12:06 +0800
commit58c0879c2fbc9f88f35ba503674088da23a8a5a7 (patch)
tree64214db5b7e47a4b4677a4a487bdc9c83a063202 /swarm/api/http
parent68b8088cb9730bfe0ee2395dd5506dc744076fc2 (diff)
downloaddexon-58c0879c2fbc9f88f35ba503674088da23a8a5a7.tar
dexon-58c0879c2fbc9f88f35ba503674088da23a8a5a7.tar.gz
dexon-58c0879c2fbc9f88f35ba503674088da23a8a5a7.tar.bz2
dexon-58c0879c2fbc9f88f35ba503674088da23a8a5a7.tar.lz
dexon-58c0879c2fbc9f88f35ba503674088da23a8a5a7.tar.xz
dexon-58c0879c2fbc9f88f35ba503674088da23a8a5a7.tar.zst
dexon-58c0879c2fbc9f88f35ba503674088da23a8a5a7.zip
swarm/storage/feeds: removed capital Feed throughout
Diffstat (limited to 'swarm/api/http')
-rw-r--r--swarm/api/http/server.go4
-rw-r--r--swarm/api/http/server_test.go4
2 files changed, 4 insertions, 4 deletions
diff --git a/swarm/api/http/server.go b/swarm/api/http/server.go
index 84e06d09f..0cfeb1f22 100644
--- a/swarm/api/http/server.go
+++ b/swarm/api/http/server.go
@@ -518,7 +518,7 @@ func (s *Server) HandlePostFeed(w http.ResponseWriter, r *http.Request) {
return
}
// the key to the manifest will be passed back to the client
- // the client can access the Feed directly through its Feed member
+ // the client can access the feed directly through its Feed member
// the manifest key can be set as content in the resolver of the ENS name
outdata, err := json.Marshal(m)
if err != nil {
@@ -531,7 +531,7 @@ func (s *Server) HandlePostFeed(w http.ResponseWriter, r *http.Request) {
}
}
-// HandleGetFeed retrieves Swarm Feeds updates:
+// HandleGetFeed retrieves Swarm feeds updates:
// bzz-feed://<manifest address or ENS name> - get latest feed update, given a manifest address
// - or -
// specify user + topic (optional), subtopic name (optional) directly, without manifest:
diff --git a/swarm/api/http/server_test.go b/swarm/api/http/server_test.go
index 16813cab5..4ab99b209 100644
--- a/swarm/api/http/server_test.go
+++ b/swarm/api/http/server_test.go
@@ -165,7 +165,7 @@ func TestBzzFeedMultihash(t *testing.T) {
}
}
-// Test Swarm Feeds using the raw update methods
+// Test Swarm feeds using the raw update methods
func TestBzzFeed(t *testing.T) {
srv := testutil.NewTestSwarmServer(t, serverFunc, nil)
signer, _ := newTestSigner()
@@ -305,7 +305,7 @@ func TestBzzFeed(t *testing.T) {
srv.CurrentTime++
log.Info("update 2")
- // 1.- get metadata about this Feed
+ // 1.- get metadata about this feed
testBzzResUrl = fmt.Sprintf("%s/bzz-feed:/%s/", srv.URL, correctManifestAddrHex)
resp, err = http.Get(testBzzResUrl + "?meta=1")
if err != nil {