× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



>It looks like you have 2 newlines after HTTP/1.1 (I see two boxes on my
display).

     D crlf            C                   CONST(X'0D25')

I am concatenating crlf onto the end of the http version.  This should leave
two spaces correct? being that 0D is one character and 25 is another.  It
shouldn't be showing up as one combined character. . . right?

Aaron

-----Original Message-----
From: Brad Stone [mailto:brad@bvstools.com]
Sent: Tuesday, October 15, 2002 6:29 PM
To: web400@midrange.com
Subject: Re: [WEB400] HTTP Headers


Aaron,

> Right now my header looks like this(I took out my real IP
> address):
>
> GET http://99.99.99.99:8080/taylor/EmailServlet?xml=<Email>
> <Subject>This%20is%20the%20subject.</Subject><ToAddress><Int
> ernetAddress>albartell@mycompany.com</InternetAddress><Name
> >Aaron%20Bartell</Name></ToAddress><FromAddress><InternetAdd
> ress>albartell@mycompany.com</InternetAddress><Name>Aaron%2
> 0Bartell</Name></FromAddress><Body>Hi%20there</Body><URLAtta
> chment><Location>http://hotmail.com</Location><Name>hotmail.
> html</Name></URLAttachment></Email> HTTP/1.1Host:
> 99.99.99
> .99:8080

It looks like you have 2 newlines after HTTP/1.1 (I see two
boxes on my display).  This could cause a problem as it will
ignore or misinterprert the Host: portion of the header.
Remember, 2 newlines means "I'm done!"  So make sure you
don't have 2 somewhere.

The reason I think there are 2 after HTTP/1.1 is because if
there are 2 after the Host parm, where I also see two boxes,
I would assume there are 2 in the prior position as well
causing an abnormal end in your case.  And if I recall from
a previous inquiry, you needed the Host HTTP header for it
to work.

Brad
www.bvstools.com
_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/web400
or email: WEB400-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.