about HTTP


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

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, 01:50 PM
  2. Custom HTTP modules & Web Services
    By Andrei Coler in forum .NET
    Replies: 0
    Last Post: 08-20-2003, 12:00 PM
  3. Swing client - http get
    By jimmy in forum Java
    Replies: 0
    Last Post: 04-01-2003, 04: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, 01:05 AM
  5. Replies: 7
    Last Post: 09-15-2000, 09:44 AM

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


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center