Last post Mar 04, 2009 09:00 AM by sskeller
Feb 10, 2009 09:31 AM|sourvil|LINK
We deal with a livescore feed company for getting live sport events (like www.livescore.com)
They send every event with post method and we can get every event succesfully. But they send same event again and again until they get a Http 200 Ok message. They told us that they can't get 200 message from us.
I think this is related with IIS and we may set some settings in IIS-6 or should i send this 200 response programmatically?
http 200 ok message
Feb 10, 2009 05:06 PM|sskeller|LINK
You must not be sending anything back to them as a response. I think if you send anything back to them in a response header it should resolve to a 200.
I used to just send "200" back in the response, although you could probably send a space and it would work also.
Mar 04, 2009 07:42 AM|blu3m3|LINK
Mar 04, 2009 08:56 AM|sskeller|LINK
Actually, it is much simplier than that. The 200 response is included in the response back to the browser from the server. The web server willl assemble that information when it sends the response back to the client browser.
The only reason I said send a "200" was just to put some non space character that I could see. Given that you have a well formed page otherwise, the following will result in a http 200 coming back to the client:
Fred and Ethyl will also work. The point is just send some data back to the client.
good luck! ssk
The usual issue is that people receive the data from the client in the server, then they forget to send back a response to the client on a post.
Mar 04, 2009 09:00 AM|sskeller|LINK
One other addendum to this. In the example, the service is sending data to him. In other words, the livescore service is acting like a browser client programmatically. They are assembling a HTTP Post and connecting to your server.
Your side is acting like a web server. In effect, it needs to talk back to the service like it was a browser. Their programming wants to receive the http 200 so they know it is OK. In other words, they want the ACK so they know it can continue processing
more good luck!