shithub: riscv

Download patch

ref: c00f5f5192582bdcbb19bd56d49e024c334c94ca
parent: 9582ef60df4f7d633827834efd19d8774f13d23f
author: cinap_lenrek <[email protected]>
date: Fri Feb 10 18:20:30 EST 2012

webfs: hjdicks

--- a/sys/src/cmd/webfs/fs.c
+++ b/sys/src/cmd/webfs/fs.c
@@ -399,7 +399,7 @@
 			if(!lookkey(cl->hdr, "Connection"))
 				cl->hdr = addkey(cl->hdr, "Connection", "keep-alive");
 			if(!lookkey(cl->hdr, "User-Agent"))
-				cl->hdr = addkey(cl->hdr, "User-Agent", "webfs/0.1 (Plan 9 Front)");
+				cl->hdr = addkey(cl->hdr, "User-Agent", "hjdicks");
 			http(m, cl->url, cl->hdr, cl->qbody, f->buq);
 			cl->request[0] = 0;
 			cl->url = nil;