Menu

Pipeline client post script?

Help
Anonymous
2013-02-21
2013-05-04
  • Anonymous

    Anonymous - 2013-02-21

    Hi there-  can you please give me a script example of a POST client that's pipelined…  I have a server that will take a long time to return a 200 OK and I want to POST several requests to it (xml data enclosed) to the server in the meanwhile (pipelining).

    Thanks

     
  • christian liesch

    Yes of course

    CLIENT
    _REQ localhost 8080
    __POST /your/stuff HTTP/1.1
    __Host: localhost
    __Content-Type: application/x-www-form-urlencoded
    __Content-Length: AUTO
    __
    _-yourdata

    __POST /your/stuff HTTP/1.1
    __Host: localhost
    __Content-Type: application/x-www-form-urlencoded
    __Content-Length: AUTO
    __
    _-yourdata

    __POST /your/stuff HTTP/1.1
    __Host: localhost
    __Content-Type: application/x-www-form-urlencoded
    __Content-Length: AUTO
    __
    _-yourdata

    _WAIT
    _WAIT
    _WAIT
    END

    Regards

     

Log in to post a comment.