webfs: hjdicks

This commit is contained in:
cinap_lenrek 2012-02-10 23:20:30 +01:00
parent 9582ef60df
commit c00f5f5192

View file

@ -399,7 +399,7 @@ fsopen(Req *r)
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;