diff options
| -rw-r--r-- | cnhttp.go | 3 | 
1 files changed, 3 insertions, 0 deletions
| @@ -199,6 +199,9 @@ func (srv *server) cnpToWeb(w http.ResponseWriter, r *http.Request, req *cnp.Req  		if !raw && resp.Type() == "text/cnm" {  			srv.cnpCNMToHTML(w, r, req, resp)  		} else { +			if resp.Type() == "text/cnm" { +				w.Header().Set("Content-Type", "text/plain") +			}  			io.Copy(w, resp.Body)  		}  	case cnp.IntentNotModified: |