[Simpleweb-Support] DomainHandler with HTTP 1.0
Brought to you by:
niallg
From: Jeff N. <je...@ne...> - 2007-03-16 12:17:29
|
Hello Niall (and all), After a tedious 2 day debugging session, I finally figured out why PayPal's IPN (Instant Payment Notification) system was not working with my server. I'm using the virtual hosting facilities of Simple (through the DomainHandler) and PayPal is (for whatever reason) sending their notifications with HTTP/1.0. This creates a problem, as the DomainHandler only works with HTTP/1.1 requests (which should include a 'Host' header). Is there any way around this? I thought of writing a specialized DomainHandler that would fall back to parsing its own 'Host' if none was available, but I cannot find anywhere in the Request where the entire URL is available. Any help is greatly appreciated. Jeff |