// Redirect writes a '103 Redirect' message
Redirect writes a '103 Redirect' message
// Redirect writes a ' 103 Redirect ' message
func (mw *MessageWriter) Redirect(uri, newURI, altURIs string, usedMirror bool) {
	fmt.Fprintf(mw.w, "103 Redirect\nURI: %s\nNew-URI: %s\n", uri, newURI)
	if usedMirror {
		mw.w.Write([]byte("UsedMirror: true\n"))
	}
	if altURIs != "" {
		fmt.Fprintf(mw.w, "Alt-URIs: %s\n", altURIs)
	}
	mw.w.Write([]byte("\n"))
}
func ( mw * MessageWriter ) Redirect ( uri , newURI , altURIs string , usedMirror bool ) { fmt . Fprintf ( mw . w , " \n \n \n " , uri , newURI ) if usedMirror { mw . w . Write ( [ ] byte ( " \n " ) ) } if altURIs != " " { fmt . Fprintf ( mw . w , " \n " , altURIs ) } mw . w . Write ( [ ] byte ( " \n " ) ) }
Redirect writes a '103 Redirect' message
Redirect writes a ' 103 Redirect ' message