I'm using a custom php/curl script to query a couple WS-C2950G-48-EI switches running 12.1(22)EA10a and both are configured with ip http server and a local account to login with that has level 15 access. One switch works fine, the other doesn't appear to return anything. Turned on http debugging and the log shows HTTP: out of lines.
I can't find any difference between the two switches, other than one works and the other doesn't. I can connect directly to the switches via a browser and execute the same commands the php script is executing.