Re: Multipart/form-data POST Request

unjc email <[email protected]> Thu, 11 Jul 2013 13:35:37 -0400
Newsgroups gmane.comp.web.web-polygraph.user
Message-ID <CAG8sZZBOjFLhTugkYtd2pUyDS2JBvPOC+Mi39qCyctRk0QjMzA@mail.gmail.com>
Thanks Dmitry.  I have spent some time to massage the request-body files
and put them in cdb.  Things work pretty well with the mime content-type
and CSM.


Thanks,
Jacky


On Sat, Jul 6, 2013 at 2:44 PM, Dmitry Kurochkin <
dmitry.kurochkin-LbpN3Auhdh+Rtz+nHKFJDvXmoG9oyoYx@public.gmane.org> wrote:

> Hi Jacky.
>
> unjc email <[email protected]> writes:
>
> > Hello,
> >
> > I wonder if Webpolygraph support multipart/form-data POST requests.  If
> so,
> > is there an example showing how the workload is configured?
> >
>
> Polygraph supports POST requests and you can configure request
> Content-Type and body properties using the PGL Content type (same as for
> replies).  For details please read HTTP POST/PUT request bodies user
> manual at [1].
>
> As for multipart/form-data in requests, you can configure Content-Type
> request header using Content.mime PGL field as described above.
> Polygraph does not support generation of multipart/form-data body.  And
> usually proxies do not care about body content.  Still, if you need to
> generate multipart/form-data (or any other) body content, you should use
> CDB feature.  Please see Realistic content simulation user manual [2]
> for more info.
>
> Regards,
>   Dmitry
>
> [1] http://www.web-polygraph.org/docs/userman/req_bodies.html
> [2] http://www.web-polygraph.org/docs/userman/csm/
>
> >
> >
> > Thanks,
> > Jacky
> > _______________________________________________
> > Users mailing list
> > Users-mN9fGWdlm5pku/f+YMZH/di2O/[email protected]
> > http://www.web-polygraph.org/mailman/listinfo/users
>

_______________________________________________
Users mailing list
Users-mN9fGWdlm5pku/f+YMZH/di2O/[email protected]
http://www.web-polygraph.org/mailman/listinfo/users