|
2001-11-08
| ||
| 02:58 | • Ticket [479246ffff] Adding http::gethdr command status still Closed with 6 o... artifact: accbd97eaa user: andreas_kupries | |
| 02:50 | • Ticket [479246ffff]: 4 changes artifact: aa067a8de5 user: chris_nelson | |
| 02:40 | • Closed ticket [479246ffff]. artifact: b275c07a70 user: hobbs | |
| 02:34 | • Ticket [479246ffff]: 4 changes artifact: 0d8dbc3565 user: andreas_kupries | |
| 02:33 | • Ticket [479246ffff]: 4 changes artifact: 137bd2e94f user: andreas_kupries | |
| 02:33 | • Add attachment http.diff.3 to ticket [479246ffff] artifact: 29e182937c user: andreas_kupries | |
|
2001-11-07
| ||
| 19:33 | • New ticket [479246ffff] Adding http::gethdr command. artifact: ad2d7a1964 user: andreas_kupries | |
Adding http::gethdr command
Closed / Invalid479246ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2001-11-07 19:33:18
The enclosed patch implements a new command "gethdr". In contrast to "geturl" it only does GET requests and only retrieves the headers sent by the server. It does not retrieve the contents of the page.
andreas_kupriesplain2001-11-08 02:33:21
File Added - 12985: http.diff.3
andreas_kupriesplain2001-11-08 02:34:56
Logged In: YES user_id=75003 The patch currently does not contain documentation nor does it extend the testsuite. This will follow. Also note FR http://sourceforge.net/tracker/index.php? func=detail&aid=443195&group_id=10894&atid=360894
hobbsplain2001-11-08 02:40:04
Logged In: YES user_id=72656 This is already available via http::geturl $url -validate 1.
chris_nelsonplain2001-11-08 02:50:29
Logged In: YES user_id=107514 It's not clear to _me_ that -validate 1 will _not_ get the page. That seems to be a difference between the current implementation and Andreas'.
andreas_kupriesplain2001-11-08 02:58:13
Logged In: YES user_id=75003 Now that Jeff pointed me to this I read the following in the documentation, which is pretty clear to me. -validate boolean If boolean is non-zero, then ::http::geturl does an HTTP HEAD request. This request returns meta information about the URL, but the contents are not returned. The meta information is available in the state(meta) variable after the transaction. See the STATE ARRAY section for details.
Log in (anonymous is fine) to add a comment.
Attachments:
- http.diff.3 [download] added by andreas_kupries on 2001-11-08 02:33:20. [details]