Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2005/1027/15

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


Send credentials on post.
 [rsc] --rw-rw-r-- M 320859 glenda sys 25846 Oct 27 10:37 sys/src/cmd/hget.c
	/n/sourcesdump/2005/1027/plan9/sys/src/cmd/hget.c:389,394 - 
	/n/sourcesdump/2005/1028/plan9/sys/src/cmd/hget.c:389,396
	  					"Content-length: %d\r\n"
	  					"User-agent: Plan9/hget\r\n",
	  					u->page, u->host, strlen(u->postbody));
	+ 			if(u->cred)
	+ 				dfprint(fd, "Authorization: Basic %s\r\n", u->cred);
	  		}
	  		if(r->start != 0){
	  			dfprint(fd, "Range: bytes=%d-\n", r->start);


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.