in reply to Re: HTTP Headers Problem
in thread HTTP Headers Problem

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.

Replies are listed 'Best First'.
View browser's headers
by BorgCopyeditor (Friar) on Jul 11, 2002 at 17:56 UTC
    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!

        Excellent! In examining what IE and Mozilla create, I was able to indentify exactly what was the problem in the header.
        POST http://www.environet.gov.on.ca/dwws-app/DWWSApp?cmd=UploadSubmPag +e.uploadSubm Content-Encoding: form-data Content-Length: 3059 Content-Type: multipart/form-data; boundary=xYzZY --xYzZY Content-Disposition: form-data; name="works_id" 300002167 --xYzZY Content-Disposition: form-data; name="lab_id" 48 --xYzZY Content-Disposition: form-data; name="filename"; filename="260015626-2 +20006440.txt" Content-Length: 2769 Content-Type: text/plain
        It seems that neither browser states the Content-Length for just the file disposition, but do for the whole transaction at the beginning. In other words, the second last line shouldn't be there at all. This makes sense in accordance with the rather ambigous error message that I got. Final question: how do I turn this off? Thanks for all your help guys!