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

[REBOL] Re: make binary! fails

From: joel:neely:fedex at: 3-May-2001 14:22

[ryan--christiansen--intellisol--com] wrote:
> The following operation fails about 50% of the time: > > content-length: 20 + load system/options/cgi/content-length > post-data: make string! content-length > read-io system/ports/input post-data content-length > > post-data: make binary! post-data > > Instead of making post-data binary, it makes post-data 'none >
Could you try the following modification: content-length: 20 + load system/options/cgi/content-length post-data: make string! content-length read-io system/ports/input post-data content-length binary-post-data: make binary! post-data Then for cases where BINARY-POST-DATA is NONE, look and see what's currently in POST-DATA . -jn-