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

[REBOL] Re: html post

From: gchiu:compkarori at: 9-Aug-2002 0:36

I'm late into this thread, and outta touch being off list for a while... But I did write a multipart post script a few months ago that has been used to stress a web server to see how many simultaneous binary uploads it would take. From memory, I created a custom http header that had the content-type set to multipart/form-data, specified the boundary value, assembled the payload into the appropriate mime format, inserted the headers into the http port as text, used set-modes to change to binary, inserted the payload as binary, and then switched the port back to lines: true again. Ethereal was quite useful in getting it working. -- Graham Chiu