Results 1 to 2 of 2
  1. #1
    dhazwa is offline Member
    Join Date
    Jul 2011
    Rep Power

    Default httpconnect keeps reading mobile version of site

    I am trying to use httpconnect to read in the source code of a site, but even though I am typing in the regular sites url, my program keeps returning the source code of the mobile site. Any thoughts?

  2. #2
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    New Zealand
    Rep Power


    Perhaps the site decides what to return based on how connections identify themselves. Try setting the User-Agent.
    Last edited by pbrockway2; 08-19-2011 at 07:38 AM.

Similar Threads

  1. Logging into a Site
    By Solarsonic in forum Networking
    Replies: 2
    Last Post: 05-16-2011, 01:31 AM
  2. My new site
    By sijitg in forum Reviews / Advertising
    Replies: 0
    Last Post: 10-05-2010, 09:59 AM
  3. java -version pointing to older version
    By deepakts in forum New To Java
    Replies: 4
    Last Post: 05-06-2010, 09:59 AM
  4. Replies: 5
    Last Post: 08-21-2009, 11:03 AM
  5. Replies: 1
    Last Post: 08-07-2009, 12:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts