in reply to HTTP Headers Problem

The HTTP headers don't look right to me actually.. Shouldn't it be as follows:
POST /dwws-app/DWWSApp?cmd=UploadSubmPage.uploadSubm HOST: www.environet.gov.on.ca Content-Length: 3059 * * * THE REST * * *
I know that some servers may also require HTTP version included with the POST header, like so:
POST /dwws-app/DWWSApp?cmd=UploadSubmPage.uploadSubm HTTP/1.1 * * * * * *


Update: you can get more info on HTTP protocol at the w3.org site. On my home PC (Win2000) I have a great HTTP dump tool which allows you to have a closer look at HTTP traffic. You could get a free Win32 TCPDUMP utility here. This is the one I use.

_____________________
# Under Construction

Replies are listed 'Best First'.
Re: Re: HTTP Headers Problem
by gr0f (Acolyte) on Jul 11, 2002 at 15:36 UTC
    Hmm, well, I'm not an expert at this so you may be right. I posted this problem several months ago and one guy confirmed that the headers looked ok. At any rate, it just seems to be the last line it doesn't like. Unless of course, if you are correct about the header, it's spawning other problems as well. Does anyone know how I might be able to get a hold of a sample header produced by a web browser such as IE or Mozilla? They don't have a problem with the site.
      You can get a view of the headers a browser is sending by pointing your form to:
      http://www.delorie.com:81/some/url.html

      The site also has a utility for viewing server headers.

      HTH,

      BCE
      --Your punctuation skills are insufficient!