Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] read/custom and HTTP HEAD behaviour

From: jmalv:hot:mail at: 15-Feb-2002 9:42

I am trying to query a URL with HTTP HEAD but I get the full HTTP GET instead print read/custom reduce ['HEAD ] or response: copy "" port: open tcp:// insert port rejoin [ "GET" newline "" newline "connection: close" newline newline ] while [ res: copy port ] [][ append response res ] close port How can I just get the HTTP HEAD without the full page ? Thanks