I've got a web service that responds to a request with xml, but there's a problem. I'm forced to send the blank line at the beginning of the file or the web server (apache) throws an error 500. However, the blank line breaks the xml and the page it responds to can't parse it. Currently, once my xml is formed I'm simply printing it. Since it's a response, I can't send the xml using urllib with the link. How do people handle this? FYI, it's a merchant calculations response for Google Checkout. Thanks for all your help!!