HP3000-L Archives

October 2000, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Andrew Cartledge <[log in to unmask]>
Reply To:
Andrew Cartledge <[log in to unmask]>
Date:
Wed, 18 Oct 2000 07:49:39 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
Good idea/Bad idea.

This may be the triumph of hope over reality but can anyone identify any
documents anywhere that explains, simply, the formatting requirements for
headers when preparing to post to HTTP via port 80. I have found many on
HTML formatting which discusses that the web application creates the header
data but nothing on how one would do it programatically.

I notice from an earlier posting on this subject in May, C and Java
libraries were referenced, but I would like to try do this 'manually', via
a COBOL program of all things.

I have established I can post data out on port 80 but cannot get to grips
with the formatting requirements of the HTTP header.

The XML layouts (for thats what I intend to send) are pretty straight
forward and I understand the tag delimitation.

Its establishing the initial contact and delimiting the header data.

The idea is that I will open socket 80 and simply post the string of data
off to the application within the web area.

I am currently trying to test this, with a simple script, on my HP by
posting to a URL within my Apache environment, although eventually it will
be out on the network, and get the following error in my apache error_log;

[Tue Oct 17 17:19:30 2000] [error] Invalid URI in request POST public-
html/titlemnt.bin HTTP/1.0  Content-Length: 31
titlecode=1&salut=MR&ACTION=ADD

The value ' POST public-html/titlemnt.bin HTTP/1.0  Content-Length: 31
titlecode=1&salut=MR&ACTION=ADD ' is that simply sent via an IPCSend out on
port 80 from a cobol prog.

I may be asking a lot but, who knows, there could be something out there.

ATOM RSS1 RSS2