test/http_put_test.c File Reference
HTTP Put Test. More...
#include "globus_common.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "globus_xio.h"
#include "globus_xio_http.h"
#include "globus_xio_tcp_driver.h"
#include "http_test_common.h"
Detailed Description
HTTP Put Test.
Test that clients can send HTTP message bodies.
Test parameters are
- -f filename
Name of file to be used as the test message - -v "HTTP/1.0"|"HTTP/1.1"
Set HTTP version to use - -t "chunked"|"identity"
Set transfer encoding (for HTTP/1.1 transfers only) - -b buffer-size
Set the size (in bytes) to be read/written at a time
The test client will send the POST request for the /put-test URI.
The test server will
- verify the receipt of the /put-test URI
- compare the message body to that of the test file.
- generate a response which indicates whether the comparison succeeded.
Test test client will then compare the response message with the contents of the file.
Generated on 5 Nov 2016 for globus_xio by
1.4.7