Geeks With Blogs

Lance's TextBox
Besides servers sometimes rejecting HTTP requests because of the user-agent header, there are other reasons that servers will (sometimes mistakenly) reject requests or provide unexpected responses.

Amoung these:

  • Accept header (the content-types allowed by the requesting client)
  • Accept-Encoding header (the content-encoding allowed by the requesting client, this is where you would specify deflate or gzip http compression)
  • HTTP version (IPWorks default is HTTP 1.1, but this can be set to 1.0 if necessary)
  • User-Agent (some services will only allow particular useragents, such as IE. This is a very bad practice.)

Posted on Thursday, September 29, 2005 9:11 AM Programming | Back to top

Comments on this post: Other reasons for HTTP component requests being rejected

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Lance Robinson | Powered by: