module Ethon::Easies::Http::Postable
def set_form(easy)
-
easy
(Easy
) -- The easy to setup.
Other tags:
- Example: Setup. -
def set_form(easy) easy.url ||= url if form.multipart? form.escape = false form.materialize easy.httppost = form.first.read_pointer else form.escape = true easy.copypostfields = form.to_s easy.postfieldsize = easy.copypostfields.bytesize end end