Bug fixes; send Content-Type to web server