C
Catherine Heathcote
Heya,
I am reading an XML file (code at the end if it helps) and all goes well
except I am getting the http response code printed. So everything (hat
works of course) has "200 OK" on the first line. Am I missing some
simple way of surprising this, or should I just delete the 1st line
before playing with the content?
Also everything I get has "\r\n" in it, which atm I am getting rid of
with strip(), is that the best way?
http://pastebin.com/m4120242
Thanks
I am reading an XML file (code at the end if it helps) and all goes well
except I am getting the http response code printed. So everything (hat
works of course) has "200 OK" on the first line. Am I missing some
simple way of surprising this, or should I just delete the 1st line
before playing with the content?
Also everything I get has "\r\n" in it, which atm I am getting rid of
with strip(), is that the best way?
http://pastebin.com/m4120242
Thanks