func ServeStdIn(stdInName string, inline bool) http.HandlerFunc {
	return func(w http.ResponseWriter, r *http.Request) {
		log.Printf("%s requested stdIn %s\n", r.RemoteAddr, stdInName)
		w.Header().Set("Content-Disposition", fmt.Sprintf("%s; filename=%s", inlineString(inline), stdInName))
		_, err := io.Copy(w, os.Stdin)
		if err != nil {
			log.Printf("Could not write stdin to client fully. %s", err.Error())
			return
		}
	}
}
// ServeFile serves stdin over http
ServeFile serves stdin over http
// ServeFile serves stdin over http
func ServeStdIn(stdInName string, inline bool) http.HandlerFunc {
	return func(w http.ResponseWriter, r *http.Request) {
		log.Printf("%s requested stdIn %s\n", r.RemoteAddr, stdInName)
		w.Header().Set("Content-Disposition", fmt.Sprintf("%s; filename=%s", inlineString(inline), stdInName))
		_, err := io.Copy(w, os.Stdin)
		if err != nil {
			log.Printf("Could not write stdin to client fully. %s", err.Error())
			return
		}
	}
}
func ServeStdIn ( stdInName string , inline bool ) http . HandlerFunc { return func ( w http . ResponseWriter , r * http . Request ) { log . Printf ( " \n " , r . RemoteAddr , stdInName ) w . Header ( ) . Set ( " " , fmt . Sprintf ( " " , inlineString ( inline ) , stdInName ) ) _ , err := io . Copy ( w , os . Stdin ) if err != nil { log . Printf ( " " , err . Error ( ) ) return } } }
ServeFile serves stdin over http
ServeFile serves stdin over http