Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^7: XML::Generator bad header?

by misc (Pilgrim)
on Aug 19, 2007 at 11:04 UTC ( #633587=note: print w/replies, xml ) Need Help??


in reply to Re^6: XML::Generator bad header?
in thread XML::Generator bad header?

I guess you have a problem with your httpd.conf configuration,
you can modify the headers apache sends with the Header directive.
http://httpd.apache.org/docs/2.0/mod/mod_headers.html#header

In order to debug the headers, you could telnet to your apache server:
telnet localhost 80
Trying 127.0.0.1... Connected to localhost. Escape character is '^]'.
GET /now.xml
This way you'll get the full response of apache.

I use firefox with firebug (http://www.getfirebug.com/)
Within firebug you can debug the headers, too.
Michael

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://633587]
help
Chatterbox?
erix .oO( that sounds Boyer-Mooreish )
[Corion]: erix: Yes, but that's mostly for skipping characters you'll never read, but this approach skips the problem of needing to load more data while looking at a half-match
[Corion]: I mostly wonder how I can add this "reversal" to my toolchest, and if it's worth it or just clever
[choroba]: It should greatly simplify the parsing code, no flags or additional reading of the next buffer needed
[Corion]: choroba: Yeah, that's why I like that approach; it seems even quite obvious in retrospect to me, but many things are in hindsight ;)

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (13)
As of 2016-12-06 15:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (109 votes). Check out past polls.