Results 1 to 4 of 4
  1. #1
    manolowar is offline Member
    Join Date
    Sep 2008
    Posts
    1
    Rep Power
    0

    Default HTTP requests through proxy server

    Hi to all. First of all, sorry for my English.

    There is some strange behavior in my program related to HTTP requests through a proxy server. For testing purposes, I installed a proxy server (CCProxy) on localhost, and I want my program to access the Internet through it, so I set the system properties http.proxyPort and http.proxyHost.

    If the proxy server is running everything is ok, as I can see in the log of the server that all the requests made by the program passes through the proxy, both GET and POST requests.

    The problem appears when the proxy server is not running. POST requests fails (as expected) and appropiate exceptions are thrown, but GET requests don't fail, as I get the correct result from them.

    Does anyone know why?

  2. #2
    fishtoprecords's Avatar
    fishtoprecords is offline Senior Member
    Join Date
    Jun 2008
    Posts
    571
    Rep Power
    7

    Default

    Are you sure that the browser is not caching results?

  3. #3
    gateway1124 is offline Member
    Join Date
    Sep 2008
    Posts
    1
    Rep Power
    0

    Default

    manolawar may I see your codes to examine...

    I can not imagine the error you enconunter.

    thank you

  4. #4
    guneet singh is offline Member
    Join Date
    Jan 2009
    Posts
    13
    Rep Power
    0

    Default

    u just send ur code...i m also working on same kind of code..may be i can help u..!

Similar Threads

  1. reading URL using java through proxy server
    By asheesh in forum Networking
    Replies: 16
    Last Post: 04-25-2010, 03:15 PM
  2. Does any file in an FTP server ends up in an HTTP server?
    By islamfunny in forum CLDC and MIDP
    Replies: 4
    Last Post: 08-15-2008, 05:30 PM
  3. proxy server with caching........?
    By 05bit044 in forum Networking
    Replies: 1
    Last Post: 08-03-2008, 09:10 PM
  4. Jakarta FTP via proxy server
    By megalon in forum Networking
    Replies: 0
    Last Post: 07-24-2008, 11:12 AM
  5. Redirect My Client httpRequests to Proxy server !
    By Tareq85 in forum Networking
    Replies: 0
    Last Post: 06-12-2008, 09:30 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
  •