Perl Programming Help:
LDAP vs HTTP
Oct 30, 2001, 10:47 AM
Anybody can tell me whats the main difference between HTTP and LDAP except LDAP does the directory service requests?
Nov 2, 2001, 2:19 AM
HTTP is a 'Hypertext transfer protocol'
Usually this is the text send to a webserver when a connection is made at port 80:
More details I don't remember. The first GET line followed by two returns would be fine in most cases.
GET http://www.server.com/path/file.html HTTP/1.1
User-agent: My HTTP Browser test
(one line blank)
The the server replies with:
You can try typing these lines at a shell/prompt/console
200 HTTP OK
Date: (THE LOCAL DATE)
Last-modified: (LAST MODIED DATE)
.... and more of the contents
Hit enter twice after the GET line
telnet www.hotmail.com 80
GET / HTTP/1.0
Don't make typoos. A backspace or delete key will also be send to the webserver.
Hope It helps and clears things up about HTTP.