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!!

-s

Well, now I know more about headers and understand that the new line at the end of them shouldn't be a problem with xml. My problem is something more related to the Google Checkout schema than python, I belive.
Thanks anyhoo