DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3

Thread: about HTTP

  1. #1
    Join Date
    Mar 2005
    Posts
    110

    about HTTP

    Good Morning Everyone,

    I did a Very simple web Server and Web Browser. Now I met a problem.

    when I send "GET" or "POST" request to my Server, from Server Side, it receive two requests. Such as I send "GET /index.html HTTP/1.0....." . server got "GET /index.html HTTP/1.0....." and "GET /index.html HTTP/1.1....." .

    I send "POST /index.html HTTP/1.0....." . server got "POST /index.html HTTP/1.0....." and "GET /index.html HTTP/1.1....." .


    I donot why it send it automaticLLY. HOW CAN I FIX THIS PROBLEM?

  2. #2
    Join Date
    Aug 2005
    Posts
    14
    Well it shouldn't be doing that no. Please post the piece of your code where you op[en the connection. Something is wrong in there.

  3. #3
    Join Date
    Jul 2005
    Location
    SW MO, USA
    Posts
    299
    Try to isolate the problem to the server vs browser:
    How does the server respond when you use a commerical browser like IE or NS? Does it still studder?
    Does your browser send both HTTP/1.0 and HTTP/1.1?

Similar Threads

  1. Http
    By freesoft_2000 in forum Java
    Replies: 12
    Last Post: 08-03-2005, 12:50 PM
  2. Custom HTTP modules & Web Services
    By Andrei Coler in forum .NET
    Replies: 0
    Last Post: 08-20-2003, 11:00 AM
  3. Swing client - http get
    By jimmy in forum Java
    Replies: 0
    Last Post: 04-01-2003, 03:48 AM
  4. Re: Why REST is a better way to do Web Services
    By Michael D. Kersey in forum .NET
    Replies: 2
    Last Post: 08-30-2002, 12:05 AM
  5. Replies: 7
    Last Post: 09-15-2000, 08:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links