Click here to get back home

HTTP GET not working ...why?

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
HTTP GET not working ...why? Yef 03-09-2005
Get Chitika Premium
Posted by Yef on March 9, 2005, 7:05 pm
Please log in for more thread options


I've got a program that accesses the following URL
with a GET command but the server responds with 400.
Is there something unusual about this site?

Thanks.

http://www.nasa.gov/externalflash/Anniversary_VisMar/index_noaccess.html



Posted by EventHelix.com on March 9, 2005, 7:17 pm
Please log in for more thread options


The web server might be rejecting the program because of
unknown browser type. The site is flash based so it must be
checking for browser compatibility.

I would recommend using Ethereal to check the difference
between the HTTP get sent by a regular browser and your
program.

Deepa
--
EventStudio 2.5 - http://www.EventHelix.com/EventStudio
Generate protocol sequence diagrams in PDF and MS Word



Posted by Barry Margolin on March 9, 2005, 10:24 pm
Please log in for more thread options



> I've got a program that accesses the following URL
> with a GET command but the server responds with 400.
> Is there something unusual about this site?
>
> Thanks.
>
> http://www.nasa.gov/externalflash/Anniversary_VisMar/index_noaccess.html

Are you sending the "Host: www.nasa.gov" header? I get a 400 response
if I leave it out, but the GET works when I put it in.

The server is presumably doing virtual hosting, so it needs to know the
hostname of the URL in order to find the proper page.

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


Posted by Yef on March 9, 2005, 8:16 pm
Please log in for more thread options


I wasn't sending Host.

Incidentally, I've got another bizarre host:

http://www.oreilly.com/openbook/webclient/ch03.html

It sends back HTML which doesn't look like what later
appears in the browser, e.g. title= MakeZine.com

Do you have any idea what's going on with that?
Thanks.



Posted by Adrienne on March 10, 2005, 8:18 am
Please log in for more thread options



> I wasn't sending Host.
>
> Incidentally, I've got another bizarre host:
>
> http://www.oreilly.com/openbook/webclient/ch03.html
>
> It sends back HTML which doesn't look like what later
> appears in the browser, e.g. title= MakeZine.com
>
> Do you have any idea what's going on with that?
> Thanks.
>

Sounds like you might have been hijacked. If you're on a windows system,
take a look at your hosts file and see if there is anything suspicious in
it. See <http://www.mvps.org/winhelp2002/hosts.htm> for more info. Also
run a spyware checker, Spybot Search & Destroy is very good
<http://security.kolla.de/>, and I would also run a virus check.

--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share


Similar ThreadsPosted
CSS not working with XHTML September 28, 2006, 2:07 am
CSS not working with XHTML September 28, 2006, 2:09 am
getAttribute ('id') Not Working December 5, 2006, 9:57 am
SSI working environment May 31, 2007, 10:23 am
Z-index not working? March 27, 2008, 10:55 pm
Are You Tired of Working for your boss? Why not for yourself? September 16, 2004, 7:01 am
z-index style not working December 21, 2004, 2:36 pm
URL link using Button not working in IE June 8, 2005, 2:43 pm
Homesite - SSL ftp to vsftpd not working June 24, 2005, 2:21 am
FF: anchor links not working.. February 8, 2006, 10:52 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap