Examples mention http://your-server in spite of http://your/server
Send appropriate content-type for today needed file types and text/plain as default
ExtractMethod to reduce LongMethod