HTTP: Difference between revisions
Undo revision 315435 by WdeCvfYlmB (talk)
Thundergnat (talk | contribs) (Undo revision 315436 by WdeCvfYlmB (talk)) |
Thundergnat (talk | contribs) (Undo revision 315435 by WdeCvfYlmB (talk)) |
||
Line 854:
=={{header|Factor}}==
<lang factor>USE: http.client
"http://www.
=={{header|Forth}}==
{{works with|GNU Forth|0.7.0}}
This works at the socket level, returning both the HTTP headers and page contents.
<lang forth>include unix/socket.fs
dup s\" GET /Home.html HTTP/1.0\n\n" rot write-socket▼
▲dup s\" GET / HTTP/1.0\n\n" rot write-socket
dup pad 8092 read-socket type
close-socket</lang>
=={{header|friendly interactive shell}}==
|